0
点赞
收藏
分享

微信扫一扫

cuda项目出错,no kernel image is available for execution on the device


 解决方案

SET(CUDA_NVCC_FLAGS -gencode arch=compute_61,code=sm_61;-G;-g)

设置arch和code与电脑的显卡匹配,就可以解决。

 

更多《计算机视觉与图形学》知识,可关注下方公众号:

cuda项目出错,no kernel image is available for execution on the device_解决方案

举报

相关推荐

0 条评论