-
Notifications
You must be signed in to change notification settings - Fork 149
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
Compile error: cannot find cuda_bf16.h #930
Comments
Hello @peizhang-cn and thank you for the interest to our project! I was unable to reproduce your issue with CUB 1.16.0. Is there any chance you could try more recent version? Also, which version of CUDA are you using ( cmake -DThrust_DIR=/src/thrust/thrust/cmake \
-DCUB_DISABLE_ARCH_BY_DEFAULT=YES \
-DCUB_ENABLUE_COMPUTE_75=YES \
-GNinja \
..
ninja cub.cpp14.example.block.radix_sort |
Hi @senior-zero many thanks for the reply, I reinstalled Thrust and updated Cub to the newest version, and compiled Thrust with
the cuda version is 10.1.243. |
@peizhang-cn the minimal required CUDA version for Thrust/CUB is 11.1. I'd suggest installing the latest CUDA, which is 12.1 at the moment. |
Dear all,
I'm new to CUDA and trying to learn CUB for my applications. I try to compile examples (example_block_radix_sort.cu) with: nvcc -arch=sm_75 example_block_radix_sort.cu -I../.. -lcudart -O3, somehow, get a error: cuda_bf16.h: No such file or directory. After searching, seems issues NVIDIA/cub#478 is related, but I cannot find a solution as a beginner. Thanks for your help!
I use WSL2 (ubuntu20.04) and cub1.16.0 with an RTX 3060 ti.
The text was updated successfully, but these errors were encountered: