OpenCL; MIC specific compilation errors

OpenCL; MIC specific compilation errors

Dear all,

I'm trying to compile one OpenCL Kernel which is actually quite long for the MIC, however the compilation for the MIC doesn't work. I was able to compile the same OpenCL code with the AMD SDK for a AMD GPU and also for my Intel CPU (using the AMD SDK); however when I try to compile the code for the MIC I get following error: "LLVM ERROR: Buffer too small for code", when I try to compile my entire code with multiple kernels [There is already a forum entry for this:]. When I try to reduce the number of kernels to the one I'm mainly interested in I get a segmentation fault, or the external kernel builder crashes.

Are there any workaround regarding this? Is there already a release plan for the next OpenCL SDK for the XeonPhi?

Thank you,


3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Dear Konrad,

Thanks for reporting the issue.

This problem is known and will be fixed in our opcoming release of the OpenCL runtime. (No final date yet)

The crash that you reports is new to me. Can you please share a reproducer for the crash?



Hello Konrad,

Sorry for the delay.

Current solution/workaround is to prevent automatic vectorization either by CL_CONFIG_USE_VECTORIZER or by supplying a vector type in vec_type_hint. See,


Leave a Comment

Please sign in to add a comment. Not a member? Join today