PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pgprof doesn't profile accelerated code

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
appleluo



Joined: 21 Nov 2012
Posts: 19

PostPosted: Mon Feb 18, 2013 11:26 am    Post subject: pgprof doesn't profile accelerated code Reply with quote

I wasn't able to profile any accelerated code and hope the newest release 13.2 would resolve the issue. Today, I installed pgi 13.2 and tried with a simple openacc code. I first compiled it with -acc, and then ran it with pgcollect, and then ran pgprof to see the results. But still, nothing related to accelerator is shown in the GUI: no accelerator information is given, no timing on accelerator regions.

Is there anything wrong with my use of the compiler?


Thanks,

Ping
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Feb 18, 2013 2:03 pm    Post subject: Reply with quote

Hi Ping,

Sorry, we weren't able to get the pgcollect profiling support for the new Accelerator runtime in place for 13.2. We're looking at either 13.3 or 13.4 for this.

- Mat
Back to top
View user's profile
appleluo



Joined: 21 Nov 2012
Posts: 19

PostPosted: Mon Feb 18, 2013 3:48 pm    Post subject: Reply with quote

Hi Mat,

Thank you for replying.

Do you know the time line for the release of 13.3 or 13.4?

Ping
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Feb 18, 2013 3:59 pm    Post subject: Reply with quote

Our version numbering is "Year.Month". So it will be early March (13.3) or April (13.4).

- Mat
Back to top
View user's profile
donb



Joined: 20 Jul 2004
Posts: 88
Location: The Portland Group, Inc.

PostPosted: Thu Feb 28, 2013 1:31 pm    Post subject: Reply with quote

A workaround that is available in the meantime is to set the environment variable PGI_ACC_TIME to '1' for the program when it runs (not when compiling). This will give the same output as that -ta=nvidia,time did, without having to recompile the program.

--Don
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling 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