Function cuda_check

Source
pub fn cuda_check(result: cudaError_t) -> Result<(), CudaError>