Improvement to how arguments are passed to OpenCL kernels. Also added assertion checks to crash the host code when something is up with the OpenCL