I have a setup of 2 MIC cards on one node, if lets say MIC 0 is not up while MIC 1 is up, Then on executing code, it gives me following error.
offload error: cannot get device 0 handle (error code 2).
On offload statement like this :
#pragma offload target(mic:-1) inout(a : length(size) alloc_if(1) free_if(0)) in(size)
#pragma offload target(mic:1) inout(a : length(size) alloc_if(1) free_if(0)) in(size)
It would be helpful if there is any complied document for all types of offload error, its reason and possible solution to it.
Thanks in advance.