PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Timing functions in CUDA fortran

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



Joined: 18 Oct 2010
Posts: 12

PostPosted: Mon Nov 29, 2010 4:30 pm    Post subject: Timing functions in CUDA fortran Reply with quote

Hi,
I want to know the timing functions that can be called from outside and inside the Kernel subroutine in CUDA fortran. I wanted to know this so as to understand the time spent in actual computations and the time spent in transfers.

Thank you
Regards
Kaustubh
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Nov 29, 2010 6:15 pm    Post subject: Reply with quote

Hi Kaustubh,

You might find the following article I wrote helpful. http://www.pgroup.com/lit/articles/insider/v2n1a4.htm. My example program uses Cuda events to show the data transfer time as well as the compute kernel times.

Hope this helps,
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