Open south-ocean opened 6 days ago
Hi @south-ocean,
Thank you for reaching out. I see that the offending lines are redundant and can be safely removed (https://github.com/NVIDIA/DALI/pull/5653).
Also, they are wrapped around by #ifdef __CUDA_ARCH__
that should evaluate to false for the host code.
Can you tell me more about your development environment (host and CUDA compiler versions)?
Hello @south-ocean
There's something very nonstandard in your setup. The offending #include
is guarded with #ifdef __CUDA_ARCH__
. __CUDA_ARCH__
should not be defined in a translation unit types.cc
, which should not be compiled with NVCC.
Describe the question.
when i compile the dali, and cmake command is cmake -D CMAKE_BUILD_TYPE=Release -D BUILD_NVJPEG=OFF -D BUILD_NVJPEG2K=OFF -D BUILD_NVOF=OFF -D BUILD_NVDEC=OFF -D BUILD_NVML=OFF -D BUILD_CVCUDA=OFF -D BUILD_CVCUDA=OFF -D BUILD_CUFILE=OFF -D BUILD_NVIMGCODEC=OFF -D BUILD_PYTHON=ON .. , but it return an error fatal error: 'caffe/util/half.cuh' file not found, but i can't find this file in system and dali folser, Can you tell me the file path?
Check for duplicates