PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

How to calculate register, shared, constant and local memory

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



Joined: 05 Jun 2012
Posts: 2

PostPosted: Thu Jun 14, 2012 5:23 am    Post subject: How to calculate register, shared, constant and local memory Reply with quote

Hi Mat,

Please could you explain how PCI compiler calculates the number of register, shared, constant and local memory usage in a program. And why there is a difference while compiling with different compute capability. For examle cc13 and cc20.

I will highly appriciate it if you can give one example program and explain.

Thanks
Jessica
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Jun 14, 2012 9:54 am    Post subject: Reply with quote

Hi Jessica,

The PGI compilers do not calculate these. These messages are generated from the NVIDIA assemble ptxas and are there for informational use when calculating occupancy.

Quote:
And why there is a difference while compiling with different compute capability. For examle cc13 and cc20.
The code generation and available resources are different for each target.

- 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