i am new to CUDA, and i want to accelerate my code.i was finished my CUDA code, which using VS2015 and containing cpp/cu files.
using VS debug, the code crash, and i got an error, unspecified launch failure. i know it may be segment fault, but when i use Nsight->CUDA Debug, my code succeeds and generates wanted result.
Is there a difference between VS Debug and Nsight Debug?
nsight debug can enable the cuda memory checker (nsight debug can also debug device code)
vs debug won’t, I don’t think. (and vs debug doesn’t debug device code)