PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

CUDA/Fortran and Kepler read-only data cache

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



Joined: 01 Nov 2011
Posts: 1

PostPosted: Fri Feb 28, 2014 1:43 am    Post subject: CUDA/Fortran and Kepler read-only data cache Reply with quote

Hello,

Is is possible to enforce CUDA/Fortran compiler to use the read-only data cache (Kepler architecture) following the simple way it is done in CUDA/C by declaring an input data pointer with const and __restrict__ ? Is there an attribute to a device array dummy argument that could do that ?

Thanks,
Pierre.
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Feb 28, 2014 5:27 pm    Post subject: Reply with quote

Hi Pierre,

While we don't have LDG support into CUDA Fortran yet, we have been looking at using the "INTENT(IN)" attribute as a way to express C's "const restrict" keywords. Expect this support to be available in the near future.

- 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