Hi, I have a project with one .cu file.
My problem is that whenever I include the .cu file in my build I get a corrupted debug heap when I run my problem.
These symptoms are similar to what you would get when linking to a non-debug library and a debug library within the same project.
My build command is as follows:
“(CUDA_BIN_PATH)\nvcc.exe" -ccbin "(VCInstallDir)bin” -c -D_DEBUG -DWIN32 -D_CONSOLE -D_MBCS -Xcompiler /EHsc,/W3,/nologo,/Wp64,/Od,/Zi,/RTC1,/MTd -I"(CUDA_INC_PATH)" -I./ -I"(NVSDKCUDA_ROOT)"\common\Inc -o $(ConfigurationName)\CUDA_Image_Processing.obj CUDA_Image_Processing.cu
In my project properties also have cudart.lib listed as an additional dependency.
Any help would be greatly appreciated.
EDIT: I should maybe also specify that no cuda code has even been run prior to the error occuring.