Nsight systems Some events were lost error


I’m profiling my code and getting this error.

Some events (104) were lost. Certain charts (including CPU utilization) on the timeline may display incorrect data. Try to decrease sampling rate and start a new profiling session.

I set the duration = 40, and I used Nsight systems linux CLI.
and additionally, can I profile CPU operator that launches GPU kernel like tensorboard?

Thank you in advance.

Hi, the message from the tool is telling you that you were using CPU sampling, but the sampling rate was high enough that the tool could not successfully record all the data. 104 events is not very many. I would not worry about it too much.

If you could send me the command line, I might be able to make better suggestions.

The best way to profile the CPU operator like that would be to use the NVTX annotation library to set ranges for the CPU side code.