PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

openAcc and PTX code

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



Joined: 25 Jun 2012
Posts: 8

PostPosted: Mon Jun 25, 2012 4:01 pm    Post subject: openAcc and PTX code Reply with quote

Hi,

Is any flag to pass pgi fortran compiler to see how the gpu codes are generated? like the ptx codes?

thanks!
Back to top
View user's profile
toepfer



Joined: 04 Dec 2007
Posts: 48

PostPosted: Tue Jun 26, 2012 11:01 am    Post subject: Reply with quote

If you are using CUDA Fortran, use the following option:

    -Mcuda=keepgpu,keepptx


If you are using the PGI accelerator model, use the following option:

    -ta=nvidia,keepgpu,keepptx


You can find out more information on these options in the manpage or users guide.
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