PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Course

Is the compiler aware of the GPU I have?

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



Joined: 14 Oct 2012
Posts: 10

PostPosted: Wed Oct 17, 2012 7:50 pm    Post subject: Is the compiler aware of the GPU I have? Reply with quote

Is the code generated by pgcc dependent on my GPU?

If I have 2 machines with different GPUs, will the output be different?

Thanks
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Oct 18, 2012 10:58 am    Post subject: Reply with quote

Quote:
Is the code generated by pgcc dependent on my GPU?
No. The current default is to target multiple NVIDIA devices based on the Compute Capability. At runtime, the correct CC version is used. You can limit the CC version used via the "-ta=nvidia,ccXX" flag. (See "pgcc -help -ta" for the actual "ccXX" available with your compiler version).

- 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