Hi,I am new to Xeon Phi coproccessors and I am trying to adapt a program previously made for only CPU to offload to the Xeon Phi. Now I just try to modify the program and transfer a buffer to MIC. The code is presented below.
If I use malloc() to create a buffer and transfer it to the MIC, sometime I may meet the problem offload error: cannot create buffer on device 0 (error code 16). But if I use static array, the problem disappears. I'm wondering if anyone has experienced and successfully overcame this problem.