0

I have problem with my project. I try to send data to be independent on xeon phi from CPU.

int test=5;

#pragma offload target(mic0) in(test)
{
    test=3;
}
printf("test equals %i", test);

And result is 3. I don't understand this, the test shouldn't still equals 5?

Lukasz
  • 1

0 Answers0