PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

about CUDA code

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



Joined: 16 Mar 2012
Posts: 75

PostPosted: Tue Nov 06, 2012 8:12 am    Post subject: about CUDA code Reply with quote

Could I see the CUDA code gernerated by PGI Accelerator compiler? and how?
Back to top
View user's profile
lechat



Joined: 14 Oct 2012
Posts: 10

PostPosted: Tue Nov 06, 2012 9:39 am    Post subject: Reply with quote

You can compile with -ta=nvidia,keepgpu,keepptx

keepptx -> you can see the PTX generated code.
keepgpu-> you can see the high level cuda generated code.
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Nov 16, 2012 12:11 pm    Post subject: Reply with quote

Quote:
keepgpu-> you can see the high level cuda generated code.
It's actually a very low level, highly optimized CUDA C. It's more akin to assembly code on the CPU. So while you're more then welcome to view it, you probably don't want to.

- 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