I am having problems compiling some OpenCL examples on the Xeon Phi when I use the CCFLAG option -mmic I get the following build error:
x86_64-k1om-linux-ld: cannot find -lOpenCL
However, when I remove the -mmic option the code builds. So do I need to use the -mmic flag to build OpenCL code that runs efficiently on the Xeon Phi?
Also, is there a webpage that describes how to build and run efficient OpenCL code on the Xeon Phi?