- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
intelocl-error.png
(Virus scan in progress ...)
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-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

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page