clBuildProgram error: include file not found

clBuildProgram error: include file not found

Portrait de Pavel V.Vlasov (Intel)

Hi,

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: 9.18.10.3165

Log:

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

Kernel file: kernel_median.cl

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

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.

Thanks,
Raghu

Connectez-vous pour laisser un commentaire.