Hi,
I'm trying to compile an ocl kernel with clBuildProgram in Ubuntu(Linux). It fails with only this message:
CL_BUILD_PROGRAM_FAILURE
Anyway i can get more useful info (offending line, variable, etc)?
TIA
Nikos
Solved! Go to Solution.
You can use clGetProgramBuildInfo() with the parameter CL_PROGRAM_BUILD_LOG to get the compile/build log to see if it provides more information about the error. To know the usage, please see https://www.khronos.org/registry/OpenCL//sdk/2.2/docs/man/html/clGetProgramBuildInfo.html
Thanks.
View solution in original post