I’m using Nsight Compute version 2024.3.2.0 on an Ubuntu system with the following configuration:
GPU: NVIDIA GeForce RTX 4090
Driver version: 565.57.01
CUDA version: 12.7
OS: Ubuntu 24.04
When running Nsight Compute, I found that PM Sampling is not enabled.
From the output from ncu --list-sections, most sections are marked as “not enabled”.
What is enabled depends on your current selection of sets, sections and metrics. If you execute ncu --list-sections, only the sections that are part of the default set are enabled. If you execute ncu --set full --list-sections, you will find all sections that are part of the full set enabled, and so on.
E.g., you could collect you profile with ncu --set detailed --metrics ... --section PmSampling <app>, or ncu --set full <app>.
You can check here for where pm sampling is available.
Thanks a lot! I edited the command to check the full set. Now PmSampling is enabled, but PmSampling_WarpStates is still not. Is this expected on RTX 4090?
Yes. You can check which section is part of which set with ncu --list-sets, or by inspecting the .section file. PmSampling_WarpStates is part of the pmsampling set, but not part of the full set. In fact, there are a few sections for less common use cases that are not part of full. You can also combine individual sections and a set in a single command.