Skip to main content

Module error

Module error 

Source
Expand description

Error type for baracuda-driver.

Functions§

error_name
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.
error_string
Look up the human-readable description of a CUresult.

Type Aliases§

Error
A driver-API error: either a non-success CUresult, a loader failure, or a feature-not-supported-on-this-driver error.
Result
Convenient Result alias.