Return an exception status when there is an error in cublas_init() or cublas_shutdown().