nvidia-smi shows 0% GPU-Util when CUPTI library is used.

I am using CUPTI lib to get some GPU metrics, for example ‘ipc’. I notice that when the CUDA program is running under CUPTI library, the nvidia-smi tool shows 0% GPU utilization. However, If I run the program without CUPTI, nvidia-smi shows 100%. So does CUPTI block data collection of nvidia-smi?

Does anybody know?

Looks like this is a similar issue with https://devtalk.nvidia.com/default/topic/1045854/cuda-programming-and-performance/bug-report-nvidia-smi-shows-0-gpu-util-when-sampling-elapsed_cycles_sm-event/