I am building a HelloWorld-style CUDA application (saxpy) on Windows 7 using VS2010 as a test.
I would like to link my debug build against the C-runtime debug library. However, this seems to be fundamentally incompatible with cudart.lib; which, if I understand correctly, is statically linked against the non-debug C-runtime library.
The program runs correctly but produces a heap corruption assertion failure during the debug version’s application exit (after the final return from main).
Is there a version of cudart.lib that is linked against msvcrtd.lib on Windows 7? If not, will there be one in future CUDA releases?