I'm using NSight Compute GUI (ncu-ui) to profile kernels in a certain app. My app invokes kernel my_kernel_1
thousands of times, then invokes my_kernel_2
thousands of times. I don't want to profile all invocations of all kernels; I just want to profile a single invocation of my_kernel_2
(e.g. the tenth one, or the middle one).
I know that, when profiling is paused, I can continue to the next kernel invocation; but - I don't want to press that button a thousand times. Is there a way to continue to the next invocation of a kernel with a specific name? Or alternatively, to provide a list of kernel names which are not to be profiled?
Completing HyunwooKim' answer:
You can arrange for skipping the invocations of the kernel you're not interested in, and some invocations of your kernel of interest - but only before profiling starts; and only in non-interactive profiling mode:
regex:^my_kernel_2$
- to only match your kernel of interest.my_kernel_1
, which is not matched. There are multiple options.