I am working on adding support for TAU and would like to know if it is possible to profile CUDA codes written in C or Fortran and compiled with PGI compilers? Is it possible to link the CUPTI Library and CUDA Runtime API against the code written for PGI? Specifically, we would like to use some of the newer features in CUPTI.


Hi roblim1,

While I haven’t used CUPTI directly myself, PGI compiled OpenACC and CUDA Fortran should work. We use it with our profiler. You may need to ensure the same version of CUDA is being used for both (via the flags -ta=tesla:cuda7.0 or -Mcuda=cuda7.0)

If you encounter a specific issue, let us know and we can try and work through it.

  • Mat