Skip to main content

error_name

Function error_name 

Source
pub fn error_name(status: CUresult) -> Result<&'static str>
Expand description

Look up the symbolic name of a CUresult (e.g. "CUDA_ERROR_OUT_OF_MEMORY"). Returns "CUDA_UNKNOWN_ERROR" if the driver doesn’t recognize the code.