I have a matlab function calling cuda kernels on GPU. How can I profile the kernel?
If this kernel is executed by matlab as a CUDA kernel internally, you can try launching matlab via Nsight Compute (ncu). If you know the name of the kernel generated by matlab, you could filter to this name in your ncu invocation. You might want to use Nsight Systems prior to Nsight Compute to understand how matlab is invoking CUDA though and to identify the kernel’s name.