clBuildProgram error: include file not found

clBuildProgram error: include file not found

Portrait de Pavel V.Vlasov (Intel)


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

Have a nice day.
2 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Portrait de Raghu Muthyalampalli (Intel)

Hi Pavel,

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


Connectez-vous pour laisser un commentaire.