Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Thrust] seems the installation style of cub has changed. #8

Open
cyk2018 opened this issue Jul 7, 2024 · 0 comments
Open

[Thrust] seems the installation style of cub has changed. #8

cyk2018 opened this issue Jul 7, 2024 · 0 comments

Comments

@cyk2018
Copy link

cyk2018 commented Jul 7, 2024

When I try your softmax examples, I get this error:

CMake Error at cmake/CubCudaConfig.cmake:4 (message):
  Building CUB as a standalone project is no longer supported.  Use the
  Thrust repo instead.
Call Stack (most recent call first):
  CMakeLists.txt:86 (include)

It looks like cub can install with your first part installation options.

And I find this path: thrust/build/headers/thrust,there are some files like this picture:
image
I try to update the makefile to replace the -IXXX with -I/thrust/build/headers/thrust, and the compilation success.

So I think we should add something like this in our documents.

Thanks for your contributions in open-source World!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant