PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Parallize without manuall inlining
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
mkcolg



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

PostPosted: Mon Jul 11, 2011 9:59 am    Post subject: Reply with quote

Hi Tim,

The reflected clause is not supported for C as of yet. It's a new feature defined in the PGI Accelerator 1.3 spec, but not yet implemented. I'm sorry that you got the impression that it was added in 11.4.

- Mat
Back to top
View user's profile
rztim



Joined: 12 Jul 2010
Posts: 12

PostPosted: Tue Jul 12, 2011 12:42 am    Post subject: Reply with quote

Hi Mat,

thanks for the very fast answer again. Is there a plan in which version reflected will be implemented for C? Is there a list which part of the PGI Accelerator 1.3 spec is implemented in which compiler?

To avoid this manuell function inlining, is it possible to use acc_malloc, and define a data region with "deviceptr" somehow? How would this work?

Cheers,
Tim
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Jul 12, 2011 10:34 am    Post subject: Reply with quote

Hi Tim,

We'll start rolling out the 1.3 Spec features in the PGI 2012 compilers. I'm not sure which will be available in November's initial 12.0 release, but I know adding reflected for C as well as acc_malloc and deviceptr are high on the priority list.

"acc_malloc" and "deviceptr" will allow you to create device pointers that can be accessed within or outside of data regions. Unfortunately, I don't have an example at this time, but should be able to put one together once these features are added.

- 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
Goto page Previous  1, 2
Page 2 of 2

 
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