Closed lkuper closed 9 years ago
OK, this is a very strange issue. I can only duplicate it by interrupting a run of liquid-resize and then running idf-demo (I happen to be running them in the same browser tab, although I don't know if it matters). buildOneElement
is a liquid-resize function name. So I guess that this warning was always happening with liquid-resize and the buildlog isn't getting cleared before idf-demo runs.
With the build log thing cleared up, now we just have the original issue to deal with, which is that clGetProgramBuildInfo
(in compileKernel
) is returning -30. Working on this...
OK, this seems to be working again as of a74d1b3. The issue may have been that the build log size was too small (it was 16K bytes, and one of the build logs was 20259 bytes). So we're now doing an OpenCL call to look up the size of the build log before reading it into an appropriately sized buffer.
idf-demo raises this error for me on Mac (on Linux I can't run it at all because of unrelated WebGL issues):
Are we treating warnings as errors?
(For what it's worth, this is not the error I was getting yesterday, which was one of the OpenCL functions returning a non-zero error code. I think that it was
clGetProgramBuildInfo
and the error was -30, akaCL_INVALID_VALUE
. But, as of today, I'm no longer able to reproduce that.)