OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1720 Discussions

Non-informative compiler error - the way to proceed?


Please suggest the way to proceed with "OpenCL error: Couldn't build program from OpenCLKernels.cpp file (err=-11)."

What's err=-11?

It is followed by Intel OpenCL API funсtion return:

OpenCL info: -------------------BUILD-LOG---------------------

igdfcl64.dll succesfully completed build

igdfcl64.dll succesfully completed build

Error, line 6898: compile failed

OpenCL info: -------------------------------------------------

The source code contains around 600 lines only.

The screenshot of the compilation output is attached to this message.

0 Kudos
1 Reply
-11 is CL_BUILD_PROGRAM_FAILURE. Please look at the cl.h header for details of return values of API calls. You can also get the build log using clBuildProgramInfo() call to see what caused the failure. Another way to troubleshoot is to use the offline compiler. Raghu
0 Kudos