How to correlate SASS instructions with source code using Nsight Compute?

A presentation in GTC2020 showed that it is possible to correlate SASS instructions to source code from within the Nsight Compute tool:

How do I do it?

Are there any additional steps if I am saving the report to a file and reading in another machine?

Thank you in advance!

You can refer to Nsight Compute :: Nsight Compute Documentation.
Basically, you need to compile your application with

-lineinfo

and have the source locally available. If your source is on a different machine, you need to mount or copy it. If copying, you might also need to disable the file properties (time stamp) checks in the options: Nsight Compute :: Nsight Compute Documentation.

2 Likes

I am using thrust and so I am referred to code in that library. Is there a way to see a call stack so I can back my way out to my code?

You can’t see any call stacks.