PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

How to specificy which GPUs to run on
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: 6206
Location: The Portland Group Inc.

PostPosted: Wed Dec 08, 2010 9:55 am    Post subject: Reply with quote

Hi Mohamad Sindi,

Quote:
The function mentioned in the link you posted earlier was "acc_set_device" which didn't work for me.

I tried using "acc_set_device_num" from the manual and that worked fine, see example below.
Sorry about that. I meant "acc_set_device_num". "acc_set_device" toggles if the code should run on the host or device, not the device number. I'll correct my post.

- 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
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