sorry for off-topic (I didn't get the answer in WebCL or Nvidia
OpenCL forums yet).
Since FF7 all my MC WebCL based simulations freeze in a while with
CL_INVALID_KERNEL_ARGS error. See simple test
http://www.ibiblio.o...cl/nokia3a.html
it just executes in an infinite cycle
function run() {
cmdQueue.enqueueNDRangeKernel(kernel, 1, [], [32],
[8], []);
cmdQueue.finish();
iter++;
output.innerHTML = "<br>" + iter;
setTimeout("requestAnimFrame(run)", 100);
}
The kernel just makes C[] = A[] + B[]
Sometimes the scripts works fine, sometimes freezes after 20 - 100
iterations. It makes easily 10000-100000 iterations in simple cycle
if I comment "requestAnimFrame" operator. Why "requestAnimFrame"
may be dangerous (after FF 6) ?
Any suggestions how can I debug my script?
Evgeny Demidov
Error: WebCLCommandQueue::EnqueueNDRangeKernel Failed with error
-52.