Hello,
I am trying to offload a whole program on mic by doing the following:
int mymain(int argc,char *argv[]){
...
}
int main(int argc,char *argv[]){
#pragma offload target(mic) in(argv:length(argc))
mymain(argc,argv);
}
I get the following error:
offload error: buffer write failed (error code 6)
Could you please help me?
Best,
Nikos