CUDA配置问题
用了CUDA模板,是否还需要配置文件?
为何编译出错,见下:
1>conetheta_kernel.obj : error LNK2005: ___device_stub__Z13interpolationPfS_f 已经在 conetheta.obj 中定义
1>conetheta_kernel.obj : error LNK2005: ___device_stub__Z7obliquePfffS_ 已经在 conetheta.obj 中定义
1>C:\Users\aaa\Desktop\cone_atte_CUDA\Debug\cone_atte_CUDA.exe : fatal error LNK1169: 找到一个或多个多重定义的符号
是配置问题吗?
!CUDA新手!请大虾指点!~