NVIDIA / NVIDIA/cccl

Compile error: cannot find cuda_bf16.h

Open
#930 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.5k
Forks
487
Avg merge
2d 7h
Merged PRs (30d)
296

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.