I’m adding video encoding to an existing CUDA application and trying to profile it in Nsight as the encoding of a frame takes a bit longer than I need it to. But when I profile in Nsight, there is no sign of any of the NvEnc calls at all. All I see are “alert by thread id” waits while the encoding is happening. There aren’t even device to host memory copies for the encoded data moving from the gpu to the host - I could see NvEnc, since it happens on a specific part of the GPU, being a bit “special”, but seeing nothing at all in the profiler is pretty surprising.
Am I doing something wrong or does NvEnc just not play nice with profiling? All of the other CUDA things I have going on are showing up, including memory copies, npp resizing, and jpeg compression.