Skip to content

nvprof_nsys

Yui Chun Leung (Leo) edited this page Apr 29, 2023 · 6 revisions

Backgrounds

  • Laptop: Dell Inspiron 7590 with GTX 1650
  • nvidia-smi with Driver 470.182.03 and Cuda Version 11.4
  • /usr/local has cuda-10.1, cuda-10.2 and cuda-11.2.
  • nvprof --metrics branch_efficiency binary.out returns
    ======== Warning: This version of nvprof doesn't support the underlying device, GPU profiling skipped
    
    • it does show profiling result and metric result.

Solution

  1. Install Nsight systems from [1].
    • Select the version that matches your cuda driver.
      • As my cuda driver version is 11.4 and according to [2], i guess i need to install the one around 2021.3.2, thus Nsight Systems in 2021.3.1.54.
    • Execute .run file.
      chmod +x NsightSystems-linux-public-2021.3.1.54-ee9c30a.run
      ./NsightSystems-linux-public-2021.3.1.54-ee9c30a.run
      
  2. Edit log permission.

References

  1. Gameworks Download Center
  2. cuda-nsight-systems-11-4_11.4.3-1_amd64.deb
  3. Transitioning to Nsight Systems from NVIDIA Visual Profiler / nvprof
Clone this wiki locally