找到你要的答案

Q:“Compile Server Error.” while building OpenCL kernels

Q:“编译服务器错误。”而建筑OpenCL内核

I am trying to compile OpenCL kernels on OS X. Everything is ok when there are just a few lines. However, after the code grows over 1.5k lines, clGetProgramBuildInfo with CL_PROGRAM_BUILD_LOG flag returned "Compile Server Error." every time. I googled but found nothing about it. Could anyone help me?

我试图编译OS X的一切OpenCL内核可以在短短的几行。然而,码长1.5k线后,与cl_program_build_log旗clgetprogrambuildinfo返回编译服务器错误。“每一次。我想也没有找到它。有人能帮我吗?

answer1: 回答1:

This unhelpful error message indicates that there is bug in Apple's compiler. You can inform them of such bugs by using the Apple Bug Reporting System.

这种无益的错误信息表明,有苹果的编译器错误。你可以通过使用苹果bug报告系统通知他们这样的bug。

c++  opencl