nvprof to open trace format or slog2

340 views Asked by At

I want to generate trace of my cuda program and view it. so I run it using following command

nvprof --print-gpu-trace ./my_exec

Which prints the trace in text format which has its own limitations to understand. It has been mentioned that I can save the output into a text file and later that can be viewed using nvvp through X session or locally.

To add to my misery, none of existing nvvp installation works in the remote host for myriad reasons. In my local mac, when I install, god only knows where it gets installed which remains untracable by "finder". Thus arises my need for, converting the output of nvprof to something which can be displayed by jumpshot (which is also used by TAU), which may be OTC opentrace format or slog2 (native jumshot format).

Ultimately I seek, a visual representation of execution trace any mean possible.

1

There are 1 answers

0
Robert Crovella On BEST ANSWER

Ultimately I seek, a visual representation of execution trace any mean possible.

The easiest way to do this will be with nvvp.

The documentation describes how to import an nvprof session.

Basically, you need to run nvprof with the --output-profile option. Then import the resultant file using the nvvp import wizard (nvvp ... File... Import...)