- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a system with two PHI's. Is it possible to choose a specific target PHI when launching the program from the command line, if I didn't specify a target_id in the offload pragma, such as: #pragma offload target(mic)?
Thanks,
Ahmad
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you don't specify a device number in #pragma offload target(mic) the default is logical device 0
To map the logical device 0 to 2nd physical device (physical device numbering start from 0) in a 2 card system use env OFFLOAD_DEVICES=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot, that's what I wanted to know.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page