Java bindings for new OpenCL arguments, little fixes in kernel code