PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

Outputing the CUDA C the accelerator constructs?
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: 6208
Location: The Portland Group Inc.

PostPosted: Tue Oct 06, 2009 8:13 am    Post subject: Reply with quote

Sure, it's "-ta=nvidia,gpufile", where a "<filename>.gpu" will be created containing the generated CUDA code.

Also, while normally the CUDA execuatable code will be embedded into your application's binary, when "gpufile" is used, the CUDA binary is placed in a separate "<filename>.bin" file. The ".bin" file must be located in the same directory as the application in order to run.

- Mat
Back to top
View user's profile
TheMatt



Joined: 06 Jul 2009
Posts: 322
Location: Greenbelt, MD

PostPosted: Wed Oct 07, 2009 8:16 am    Post subject: Reply with quote

Ooh, thanks. A quick try at this seems to indicate that Dr Wolfe, you, the team, are much more clever than I am at CUDA. What the compiler does is nothing like what I was thinking of doing in CUDA Fortran!
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