I want to run OpenCL on Xeon Phi coprocessor,
So I try to install Intel OpenCL SDK on my server,
Now, I can run OpenCL on host correctly, but I try to compile the code to MIC use, like this:
icpc capsbasic.cpp -mmic -lOpenCL -ocapsbasic
x86_64-k1om-linux-ld: skipping incompatible /opt/intel/opencl/lib64/libOpenCL.so
when searching for -lOpenCL
x86_64-k1om-linux-ld: cannot find -lOpenCL
make: *** [capsbasic] Error 1
the "libOpenCL.so" is exist, and it can run well without tag"-mmic",
I feel so bad and anything can I do to fix it?