I am trying to profile my program using the inbuilt profiler in NSight but the profiling session terminates immediately after starting and I receive as feedback "Warning: Application received signal 139". What does this mean?
I also receive the following error message:
Unable to read the entire session timeline. The displayed timeline may be empty or incomplete because the application aborted or failed to flush profile data before exiting. The application should call cudaDeviceReset() before exiting to ensure that all profile data is flushed.
In nsight, go to Profile Configurations and then the Profiler tab. Uncheck "Enable concurrent kernel profiling
".