#Profiling CUDA kernels in runpod

6 messages · Page 1 of 1 (latest)

novel marlin
#

Hi! I'm trying to profile my kernel with nsight-compute and I'm getting error : "==ERROR== ERR_NVGPUCTRPERM - The user does not have permission to access NVIDIA GPU Performance Counters on the target device 0."
Which is explained on this page : https://developer.nvidia.com/nvidia-development-tools-solutions-err_nvgpuctrperm-permission-issue-performance-counters
and has to be fixed on the host side. Anybody found a workaround for this issue or how to solve it? Thanks!

scenic fiberBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

indigo blaze
#

you cant do it on RunPod as containers are not provilaged and exposing --cap-add=SYS_ADMIN would cause security risk

novel marlin
#

Okay, Thanks for the response. Any idea where can I do this?

indigo blaze
#

im not sure what you trying to do

novel marlin
#

I'm actually trying to profile few of my custom CUDA kernels running on NVIDIA GPUs