clBuildProgram failed with error code -11 and without build log

前端 未结 4 2049
忘了有多久
忘了有多久 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条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-12 09:00

    I encountered the same problem with an empty log file. I was testing my ocl kernel on a different computer. It had 2 platforms instead of one. One Intel GPU and one AMD GPU. I only had AMD OCL SDK installed. Installing the Intel OCL SDK fixed the problem. Also selecting the AMD platform instead of the Intel GPU platform fixed it.

提交回复
热议问题