Nsight compute profile run with nan value in multi-process service(MPS)

I am using ncu in multi-process service(MPS). The ncu command line options used are:
ncu --metrics gpc__cycles_elapsed.max application
I am getting nan for my run as follows.

The details of the GPU are as follows.
GPU card: NVIDIA A40
Driver version: 515.65.01
CUDA Version: 11.7

To start the MPS, I have used the following commands:
nvidia-smi -i 0 -c EXCLUSIVE_PROCESS
nvidia-cuda-mps-control -d

However, when I run the application without MPS, it gives the correct profiling results.

Any help would be appreciated.

MPS is not supported by Nsight Compute, see the “Profiling and Metrics” section under the known issues.

1 Like