Nsight error:target application exited before profiling started

Hi,

I’m a new user to CUDA and NSight system. I tried to profile some sample code in some text book but I got this error from Nsight.
ApplicationExitedBeforeProfilingStarted (1104) {
RuntimeError (120) {
OriginalExceptionClass: N5boost10wrapexceptIN11QuadDCommon16RuntimeExceptionEEE
OriginalFile: /build/agent/work/323cb361ab84164c/QuadD/Host/Analysis/Clients/AnalysisHelper/AnalysisStatus.cpp
OriginalLine: 79
OriginalFunction: static QuadDAnalysis::AnalysisHelper::AnalysisStatus::StatusInfo QuadDAnalysis::AnalysisHelper::AnalysisStatus::MakeFromErrorString(QuadDAnalysis::AnalysisHelper::AnalysisStatus::StatusType, QuadDAnalysis::AnalysisHelper::AnalysisStatus::ErrorType, const string&, const DevicePtr&)
ErrorText: The target application exited before profiling started.
}
}
Could some please help me?

Hi,

Please reach out to the Nsight Systems - NVIDIA Developer Forums to get better help.

Thank you.