Hi everyone,
I’m currently interested in profiling an application that exercises the DO CONCURRENT base language support for Fortran, as well as some OpenMP and OpenACC. I would like to be able to view the PTX source code in Nsight Compute, like I can when using nvcc
and looking at C code. This is currently the command I’m using:
nvfortran -O3 -march=native -acc=gpu -mp=gpu -stdpar=gpu -gpu=ccnative,managed,unified,keep,lineinfo,ptxinfo,debug -Minfo=accel ../advection.f90 -g -Xptxas=-v -Mdwarf3
Howeover, after running ncu
and collecting a report to copy over to Nsight Compute, the only source views available to me are the original Fortran, and SASS. I do not get an option for viewing PTX, despite producing a .ptx
file with the keep
option. Is it not possible to get that PTX view with nvfortran
? Clarification, I’m not trying to debug or step through PTX code, I’m just trying to associate the collected ncu
statistics with the PTX so I can see which instructions are causing which events.
Thanks in advance,
Ivan