PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

pinned data

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



Joined: 11 Jun 2009
Posts: 233

PostPosted: Wed Feb 10, 2010 10:55 pm    Post subject: pinned data Reply with quote

The document said that pinned data must be allocatable array. However, the compiler doesn't generate any warning/error msg when I declare it as a scalar pinned data.
I'm not sure how the compiler handles this?

Tuan.
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Feb 11, 2010 5:30 pm    Post subject: Reply with quote

Hi Tuan,

We recently added allocatable scalars in which case the variable's memory would be pinned. For non-allocatable variables, scalar or array, then the pinned attribute is simply ignored. Maybe we should issue a warning? I'll send it on to engineering for their recommendation.

Thanks,
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