PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pinned memory

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



Joined: 25 Jun 2012
Posts: 8

PostPosted: Mon Jul 02, 2012 5:23 pm    Post subject: pinned memory Reply with quote

Hi,

I have several arrays in a common block, is there anyway to make these arrays as pinned array?

It seems that from the previous thread: only allocatable arrays can be declared as pinned arrays, but the allocatable arrays are not allowed in common blocks.

thanks!
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Jul 03, 2012 9:43 am    Post subject: Reply with quote

Hi pilot117,

Sorry, you would need to change your common blocks to modules with allocatable arrays. Pinned memory requires dynamic allocation and common blocks are static.

- 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