PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Error when pass PINNDED data

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



Joined: 11 Jun 2009
Posts: 233

PostPosted: Wed Feb 16, 2011 7:18 pm    Post subject: Error when pass PINNDED data Reply with quote

I'm using VisIt tool from LLNL. When I call the Fortran wrapper API, it works if I used regular ALLOCATABLE data to pass to the wrapper. However, if I use ALLOCATABLE PINNED data, i get runtime error.

I guess there may be some difference in the metadata for the two data. What may cause this error?

Thanks,
Tuan
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Feb 17, 2011 11:10 am    Post subject: Reply with quote

Hi Tuan,

I'm not sure what would cause this. Pinned memory, although located in host's physical memory, is managed by the CUDA device driver. Though, I would think this would be fine.

Can you send me an example with reproduces the problem?

Thanks,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling 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