Tag:

Cuda示例在cuda 8.0安装后无效

我收到了这个错误: Makefile:381: recipe for target ‘cudaDecodeGL’ failed make[1]: *** [cudaDecodeGL] Error 1 make[1]: Leaving directory ‘/home/michele/Desktop/NVIDIA_CUDA-8.0_Samples/3_Imaging/cudaDecodeGL’ Makefile:52: recipe for target ‘3_Imaging/cudaDecodeGL/Makefile.ph_build’ failed make: *** [3_Imaging/cudaDecodeGL/Makefile.ph_build] Error 2 已经尝试过这个解决方案: sed -i “s/nvidia-367/nvidia-375/g” `grep “nvidia-367” -r ./ -l` 不工作……有什么猜测?

安装cuda 8.0后无法运行CUDA示例

我按照这里的步骤在ubuntu 16上安装了cuba8.0。 然后执行确认测量。 在那之后,我运行make并碰撞到如下的错误: $make … nvcc warning : The ‘compute_20’, ‘sm_20’, and ‘sm_21’ architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). /usr/bin/ld: cannot find -lnvcuvid collect2: error: ld returned 1 exit status Makefile:381: recipe for target ‘cudaDecodeGL’ failed make[1]: *** [cudaDecodeGL] Error 1 make[1]: Leaving directory […]