pub fn check(result: u32) -> CudaResult<()>Expand description
Convert a raw CUresult into a CudaResult<()>.
Returns Ok(()) for CUDA_SUCCESS (0), otherwise wraps the code in the
corresponding CudaError variant.
pub fn check(result: u32) -> CudaResult<()>Convert a raw CUresult into a CudaResult<()>.
Returns Ok(()) for CUDA_SUCCESS (0), otherwise wraps the code in the
corresponding CudaError variant.