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)?
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
Thanks a lot, that's what I wanted to know.