Added CUDA error checks in GPU utility functions