PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

NVIDIA Tools Extension

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
LO_UZH



Joined: 03 Mar 2014
Posts: 14

PostPosted: Wed Sep 10, 2014 2:32 am    Post subject: NVIDIA Tools Extension Reply with quote

Can I use the NVIDIA Tools Extension API in PGI-compiled code? If so, how?
Back to top
View user's profile
LO_UZH



Joined: 03 Mar 2014
Posts: 14

PostPosted: Wed Sep 10, 2014 2:41 am    Post subject: Reply with quote

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

Add:

#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
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group