在非root或sudoer用户下进行ncu命令分析cuda程序时,会报错
RR_NVGPUCTRPERM The user running <tool_name/application_name> does not have permission to access NVIDIA GPU Performance Counters on the target device.
此时可以选择申请root权限或在docker内进行性能分析,目前还没有找到可以绕开的办法。详情见NVIDIA社区:
NVIDIA Development Tools Solutions - ERR_NVGPUCTRPERM: Permission issue with Performance Counters
Using NVIDIA Nsight Compute in Containers
标签:compute,Nsight,NVIDIA,Performance,权限,NVGPUCTRPERM,Counters From: https://www.cnblogs.com/jibinghu/p/18194624