PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Course

use of constant memory

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



Joined: 07 Mar 2014
Posts: 23

PostPosted: Tue Mar 25, 2014 10:49 am    Post subject: use of constant memory Reply with quote

Hi all,
I would like to know if there is a way to force an array to be stored in the GPU's constant memory using OpenACC.

Declaring it as "const restrict" I am able to store it to texture memory, but, since I would like it to be used for broadcast operations I guess that better performances could be obtained storing it in constant memory.

Thanks in advance,

Enrico
Back to top
View user's profile
cparrott



Joined: 02 May 2011
Posts: 149

PostPosted: Tue Mar 25, 2014 2:00 pm    Post subject: Reply with quote

Enrico,

I checked with our main OpenACC developer, and he has informed me that this is not currently possible in OpenACC. Very sorry I do not have a better answer for you at this time.

Best regards,

+chris
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