Enum nncombinator::error::DeviceError
source · Expand description
Errors that occur in processes implemented in objects that implement Device Traits
Variants§
CudaError(CudaError)
Error in cuda processing
CublasError(Error)
Error in cublas processing
CudnnError(Error)
Error in cudnn processing
Trait Implementations§
source§impl Debug for DeviceError
impl Debug for DeviceError
source§impl Display for DeviceError
impl Display for DeviceError
source§impl Error for DeviceError
impl Error for DeviceError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
source§impl From<CudaError> for DeviceError
impl From<CudaError> for DeviceError
source§fn from(err: CudaError) -> DeviceError
fn from(err: CudaError) -> DeviceError
Converts to this type from the input type.
source§impl From<Error> for DeviceError
impl From<Error> for DeviceError
source§fn from(err: Error) -> DeviceError
fn from(err: Error) -> DeviceError
Converts to this type from the input type.
source§impl From<Error> for DeviceError
impl From<Error> for DeviceError
source§fn from(err: Error) -> DeviceError
fn from(err: Error) -> DeviceError
Converts to this type from the input type.