Fix CUDAContext (CudaErrorException)