Software Archive
Read-only legacy content
17061 Discussions

OpenCL; MIC specific compilation errors

Konrad_L_
Beginner
494 Views

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: https://software.intel.com/en-us/forums/topic/499450]. 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,

Konrad

0 Kudos
2 Replies
Arik_N_Intel
Employee
494 Views

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?

Thanks,

Arik

0 Kudos
Yuri_K_Intel
Employee
494 Views
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 https://software.intel.com/en-us/node/531302, https://software.intel.com/en-us/node/531303 Thanks, Yuri
0 Kudos
Reply