cuda编译错误

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Kelvin_Yan/article/details/78850770

error LNK2019: 无法解析的外部符号 cudaDeviceSynchronize
error LNK2019: 无法解析的外部符号 cudaConfigureCall
error LNK2019: 无法解析的外部符号 cudaSetupArgument
error LNK2019: 无法解析的外部符号 _cudaRegisterFatBinary
error LNK2019: 无法解析的外部符号 _cudaUnregisterFatBinary
error LNK2019: 无法解析的外部符号 _cudaRegisterFunction

解决:链接器-输入-附加依赖项-“cudart.lib”

猜你喜欢

转载自blog.csdn.net/Kelvin_Yan/article/details/78850770