clBuildProgram error: include file not found

clBuildProgram error: include file not found


I am trying to build program which uses include files from another folder. I use -I key to specifiy path to that folder, but if I use quotes in file name it fails to build on GPU (it is ok on CPU). Without quotes I cannot use path with spaces. Is this a known restriction or a bug?

System: Win7 x64; GPU Driver:


Platform: Intel(R) OpenCL
Device:   Intel(R) HD Graphics 4000
Units:    16

Kernel file:

- Kernel build log ------------
-I "C:\_app_data\Intel\IPP\ipp\opencl\" -D BLK_X=128 -D BLK_Y=8
:11:10: fatal error: '' file not found
#include ""

error: front end compiler failed build.

Error -11 in clBuildProgram: CL_BUILD_PROGRAM_FAILURE

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

Hi Pavel,

I was able to reproduce the issue. I will file a bug.


Leave a Comment

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