![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
cuda
小小魔姬
这个作者很懒,什么都没留下…
展开
-
Warning: nvprof is not supported on devices with compute capability 8.0 and higher.
意思是nvprof是旧工具,已经不能用了,换用Nsight systems(nsys)。nsys命令在目录C:\Program Files\NVIDIA Corporation\Nsight Systems 2021.3.3\target-windows-x64添加到环境变量即可使用。原创 2021-11-19 21:50:56 · 4352 阅读 · 0 评论 -
nvcc fatal : Cannot find compiler ‘cl.exe’ in PATH
cl.exe位于visual studio文件夹里,我的目录是C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx86\x64将此路径添加到环境变量即可。原创 2021-11-19 21:10:57 · 4475 阅读 · 1 评论 -
cuda无法使用nvprof命令,找不到cupti64_2021_3.0.dll
将C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5\extras\CUPTI\lib64\cupti64_2021.3.0.dll复制到C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.5\bin即可原创 2021-11-19 11:41:21 · 1106 阅读 · 0 评论 -
CLion Failed to generate test project build system. CUDA_ARCHITECTURES is empty for target
改为amd64原创 2021-11-19 09:01:36 · 3165 阅读 · 1 评论 -
找不到nvcc命令& CLion Failed to find nvcc
nvcc是cuda编译器,需要下载cudatoolkitCUDA Toolkit 11.5 Downloads | NVIDIA Developer原创 2021-11-19 08:19:28 · 1320 阅读 · 0 评论 -
numba.cuda.cudadrv.driver.CudaAPIError: [1] Call to cuLaunchKernel results in CUDA_ERROR_INVALID_VAL
我请求的线程数是323232的数量,但是CUDA线程块最多限制为1024个线程。原创 2021-10-27 12:51:55 · 2289 阅读 · 4 评论