offload error: cannot get device 0 handle (error code 2)

offload error: cannot get device 0 handle (error code 2)

Hi,

      I have written a simulation code that offloads part of the simulation to MIC cards using #pragma offload. We have two MIC cards in our system. After running the simulation, I notice that the MIC cards have to be rebooted before the simulation can be rerun. Otherwise, when attempting to start a second run, I get an error -

offload error: cannot get device 0 handle (error code 2)

The simulation runs just fine after the cards are rebooted. Why is this happening?

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Vishal,

There is a thread similar to yours, please refer to http://software.intel.com/en-us/forums/topic/386794 . Thank you.

I think there is some difference between the situation described in that post and my situation - I'm using both cards and both show as ready.

Hi Vishai,

Is it possible that you send your code? Also, what MPSS and compiler versions you are using? Thank you.

Leave a Comment

Please sign in to add a comment. Not a member? Join today