Hossam Amer
Hossam Amer

Reputation: 19

Nsys Does not show the CUDA kernels profiling output

My system is V100 with the following information:

| NVIDIA-SMI 450.80.02 Driver Version: 450.80.02 CUDA Version: 11.6 | NVIDIA Nsight Systems version 2021.5.2.53-28d0e6e

sudo sh -c “echo 2 >/proc/sys/kernel/perf_event_paranoid” /bin/bash: /proc/sys/kernel/perf_event_paranoid: Read-only file system

Note that perf_event_paranoid is 3.

Output: Generated: /home/build/Baseline.nsys-rep

That’s my command prefix:

nsys profile --capture-range=cudaProfilerApi --trace-fork-before-exec true --force-overwrite true -s cpu --cudabacktrace=all --stats=true -t cuda,nvtx,osrt,cudnn,cublas -o Baseline -w true

That's when I check nsys status:

nsys status -e

Timestamp counter supported: No

Sampling Environment Check

Linux Kernel Paranoid Level = -1: OK

Linux Distribution = Ubuntu

Linux Kernel Version = 5.0.0-1032-azure: OK

Linux perf_event_open syscall available: OK

Sampling trigger event available: OK

Intel(c) Last Branch Record support: Not Available

Sampling Environment: OK

That's the output from the Nsight viewer: (No Kernel data) Profile Output

That's the diagnostics view:

Diagnostics View

Upvotes: 0

Views: 2689

Answers (1)

Hossam Amer
Hossam Amer

Reputation: 19

I tried CUDA Version 11.0 and that only made Nsight produce profiles with my device driver. Other Cuda versions were not getting me the NSight Profiles.

Please check the following post for more details: https://forums.developer.nvidia.com/t/nsys-does-not-show-the-kernels-output/229526/17

Upvotes: 1

Related Questions