NVIDIA Tools Extension

Can I use the NVIDIA Tools Extension API in PGI-compiled code? If so, how?

FYI, for the latest version of the compiler and with my installation of CUDA 6.5 and PGI compiler 14.9:


#include “nvToolsExt.h”

to your headers, include the header file and link to the library on compilation:

-I/opt/pgi/linux86-64/2014/cuda/6.5/include/ -L/usr/local/cuda-6.5/lib64/ -lnvToolsExt