CL_INVALID_KERNEL_ARGS error in WebCL

I have experimental WebCL pages at
http://www.ibiblio.org/e-notes/webcl/webcl.htm
Unfortunately on GTX 560 since FF7 all my MC simulations will freeze in a while with CL_INVALID_KERNEL_ARGS error. See simple test
http://www.ibiblio.org/e-notes/webcl/nokia3a.html
it just executes in an infinite cycle

cmdQueue.enqueueNDRangeKernel(kernel, 1, , [32], [8], );
cmdQueue.finish();

Any suggestions how can I debug my WebCL scripts?

Evgeny Demidov