When using the OpenCL compiler to compile a .cl file with a large number of kernels on a machine with both a Xeon CPU and Xeon Phi, the following message is dumped:
LLVM ERROR: Buffer too small for code
Also, the kernel doesn't finish compiling. 288 kernels may be a lot, but modern compilers should be able to handle this.
It does compile on a machine without a Xeon Phi. It also compiles for Phi if I break the file into a several files with fewer kernels.
Can anyone from Intel repeat this bug?