change backend parameter to 'nvcc' when use cupy.RawKernel() will solve it.
backend
'nvcc'
cupy.RawKernel()