PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Performance CUDA fortran
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 Apr 05, 2010 12:19 pm    Post subject: Reply with quote

Quote:
I just wonder is it possible to control the variables held in a register.
No. Register allocation is by the NVIDIA back end tools. Though I believe that the tools will try and put as many local variables in registers as possible. The only thing you can control is the maximum number of registers your program uses (See "-Mcuda=maxregcount:<n>").

- Mat
Back to top
View user's profile
goblinsqueen



Joined: 04 Feb 2010
Posts: 14

PostPosted: Tue Apr 06, 2010 12:40 am    Post subject: Reply with quote

Thank you Mat for your suggestion.
I'll keep experimenting different solutions...
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