The script just executes in an infinite cycle (see the page source)

   cmdQueue.enqueueNDRangeKernel(kernel, 1, [], [32], [8], []);
   cmdQueue.finish();
On GTX 560 (very often) I've got in Error Console (in a while)
Error: WebCLCommandQueue::EnqueueNDRangeKernel Failed with error -52.

i.e. CL_INVALID_KERNEL_ARGS
How can I debug my WebCL scripts?


WebCL Demos     updated 18 June 2012