PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

algined malloc available?

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



Joined: 02 Aug 2012
Posts: 35

PostPosted: Thu Nov 22, 2012 3:01 pm    Post subject: algined malloc available? Reply with quote

Hi,

does the PGI compiler provide a aligned_malloc which allows me to align
my data to a specific memory boundary?

Thank you.

Best,
Paul
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Nov 26, 2012 9:29 am    Post subject: Reply with quote

Hi Paul,

No, we don't provide an aligned malloc routine. Would "memalign" work? (See: http://www.kernel.org/doc/man-pages/online/pages/man3/posix_memalign.3.html)

- 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