cuda10.2+win10 64位 + vs2015如何跑在cuda5.0+win 32位的程序,需要改什么?
最近需要跑一个paper代码,源代码是在cuda5.0 win32的环境下跑的,现在我的环境是cuda10.2+win10 64位,编译时提示错误如下:
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations\CUDA 10.2.targets(764,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_61,code=\"sm_61,compute_61\" --use-local-env -ccbin "D:\Microsoft\Microsoft Visual Studio 14.0\VC\bin" -x cu -ID:\TMM\2015_xia\common\include -ID:\TMM\2015_xia\common\include\MathEngine -ID:\TMM\2015_xia\common\include\RenderEngine -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir Release -maxrregcount=0 --machine 32 --compile -cudart static -DWIN32 -D_WINDOWS -DNDEBUG -D_UNICODE -DUNICODE -D_AFXDLL -Xcompiler "/EHsc /W3 /nologo /O2 /FdD:\TMM\2015_xia\bin\temp\MotionToolkit\Release\vc140.pdb /FS /Zi /MD " -o D:\TMM\2015_xia\bin\temp\MotionToolkit\Release\cuda_knn_with_weight.cu.obj "D:\TMM\2015_xia\CUDA\cuda_knn_with_weight.cu"" exited with code 1.
1> nvcc fatal : 32 bit compilation is only supported for Microsoft Visual Studio 2013 and earlier
请问各位前辈该怎么解决这个问题啊?(暂时不考虑把现环境回退至源码的环境)