clBuildProgram failed with error code -11 and without build log

前端 未结 4 2003
忘了有多久
忘了有多久 2021-01-12 08:31

I have worked little bit in OpenCL now but recently \"clBuildProgram\" failed in one of my program. My code excerpt is below:

cl_program program;
program = c         


        
4条回答
  •  -上瘾入骨i
    2021-01-12 08:47

    I've seen this happen on OSX 10.14.6 when the OpenCL kernel source is missing the _kernel attribute tag. If both the _kernel tag and return type are missing it seems to crash the system OpenCL compiler daemon, which then takes a few seconds to restart before new kernels will compile again.

提交回复
热议问题