PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Computer Intensity

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



Joined: 30 Jun 2011
Posts: 103

PostPosted: Tue Sep 13, 2011 1:07 pm    Post subject: Computer Intensity Reply with quote

I have tried several examples of source code in the provided literature and I have never gotten a compute intensity reading yet. Please provide some source code and compiler directives that will give me a computer intensity reading. Please make it in c. Believe me I have tried and have come with nothing - bupkiss.

THX 1138
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Sep 14, 2011 11:37 am    Post subject: Reply with quote

Hi THX 1138,

The compute intensity is shown when the "-Minfo=ccff,intensity" flag is used. Keep in mind though, for loops with dynamic sizes (i.e the loop bounds aren't known until runtime), the intensity shown may be symbolic. For these cases, you need to add profile-guided feedback.

To use PFO, first add "-Mpfi" to your compilation flags and then run your code using a representative data set. "-Mpfi" instruments your code used to generate profile information. Next, recompile your code with "-Mpfo -Minfo=ccff,intensity" to view the intensity.

Note that some intensity information may still be symbolic. In these cases, the loops were most like not executed during runtime.

Hope this helps,
Mat
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Sep 14, 2011 2:00 pm    Post subject: Reply with quote

Hi THX 1138,

The thought occurred to me that you might be using 32-bit. Intensity information is only available for 64-bit compilations.

- 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