Added const to cu_mc_kernel and cl_mc_kernel