CUDA kernel Crash issue fixed