Openmp 独立卸载数据
我的项目有问题。我尝试从CPU发送独立于xeon phi的数据Openmp 独立卸载数据,openmp,xeon-phi,offloading,Openmp,Xeon Phi,Offloading,我的项目有问题。我尝试从CPU发送独立于xeon phi的数据 int test=5; #pragma offload target(mic0) in(test) { test=3; } printf("test equals %i", test); 结果是3。我不明白这一点,测试不应该仍然等于5?不确定这与MPI有什么关系。相应地编辑。可能它在CPU回退模式下运行?
int test=5;
#pragma offload target(mic0) in(test)
{
test=3;
}
printf("test equals %i", test);
结果是3。我不明白这一点,测试不应该仍然等于5?不确定这与MPI有什么关系。相应地编辑。可能它在CPU回退模式下运行?