PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

enquiry about accelerator directives

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



Joined: 11 Oct 2011
Posts: 41

PostPosted: Mon Mar 19, 2012 1:52 am    Post subject: enquiry about accelerator directives Reply with quote

is it possible to use both "pgi accelerator directives" & "CUDA fortran programming" in the same project
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Mar 19, 2012 9:11 am    Post subject: Reply with quote

Yes. PGI Accelerator compute regions are able to use CUDA Fortran device variables.

You may also wish to look at using Kernel directives instead of the PGI Accelerator model. Essentially Kernel directives are a light-weight version of the PGI Accelerator model, where the user manages data movement and the CUF kernel directives manage the kernels. It also give the user a more CUDA like interface.

See the following article for an introduction to CUF kernel directives: http://www.pgroup.com/lit/articles/insider/v2n3a1.htm

- 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