PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Profiling using computeprof

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



Joined: 30 Nov 2010
Posts: 29
Location: Saudi Aramco

PostPosted: Sun Jan 16, 2011 6:52 am    Post subject: Profiling using computeprof Reply with quote

Can programs using PGI directives be profiled using computeprof (formerly known as cudaprof) or that only works for programs written in CUDA?

So far I am not able to get it to work, do I need special flags during compilation for the profiling to work?

Thank you for your help.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5815
Location: The Portland Group Inc.

PostPosted: Mon Jan 17, 2011 9:07 am    Post subject: Reply with quote

Hi Sindimo.

Yes you can profile the GPU code generated by PGI Accelerator Model directives using cudaprof, However, you can't profile both the host and GPU code together. For this, use the PGI profiling utility 'pgcollect' and view the results with PGPROF. Please see the PGI Tool's Guide (http://www.pgroup.com/doc/pgitools.pdf) for details.

- Mat
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