Added error checks on CUDA calls