As said in the CUDA 4.0 RC overview-presentation (http://developer.download.nvidia.com/CUDA/training/cuda4_0_feature_intro.mp4), CUDA 4.0 RC should fully support Visual Studio 2010 now. However, when I try to compile the following command:
“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\nvcc.exe” -ccbin “C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin” -I"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include" -m64 -ptx -arch sm_20 “[path to my kernel]\my_kernel.cu”
“cudafe++.exe” crashes and the command line tells me:
"C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include\stddef.h(38) (col. 25): internal error: assertion failed
at: “D:/Bld/rel/gpgpu/toolkit/r4.0/compiler/edg/EDG_4.2/src/il_to_str.c”, line 1364
1 catastrophic error detected in the compilation of “C:/Users/[user]/AppData/Local/Temp/tmpxft_000013a4_00000000-6_my_kernel.cpp4.ii”.
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information.
When I use the Visual Studio 2008 paths, it works fine.
Is Visual Studio 2010 still not yet supported (opposed to as stated in the webinar), or is this a bug?
Thanks for your efforts!