当我通过命令编译我的 CUDA 代码时:
nvcc lbm.cu -I/usr/local/NVIDIA_GPU_Computing_SDK/CUDALibraries/common/inc -lm
编译器报告了以下错误:
In file included from lbm.cu:15:
lbm_kernel.h:52:8: warning: extra tokens at end of #endif directive
/usr/local/NVIDIA_GPU_Computing_SDK/CUDALibraries/common/inc/cutil_inline_runtime.h(329): error: identifier "CURAND_STATUS_DOUBLE_PRECISION_REQUIRED" is undefined
1 error detected in the compilation of "/tmp/tmpxft_00005ff8_00000000-4_lbm.cpp1.ii".
这就是全部内容。在我编译其他代码的过程中,我从来没有见过它。我能做些什么 ?