Skip to main content

Error

Type Alias Error 

Source
pub type Error = Error<cutensorStatus_t>;
Expand description

Error type for cuTENSOR operations.

Aliased Type§

pub enum Error {
    Status {
        status: cutensorStatus_t,
    },
    Loader(LoaderError),
    FeatureNotSupported {
        api: &'static str,
        since: CudaVersion,
    },
}

Variants§

§

Status

The library returned a non-success status code.

Fields

§status: cutensorStatus_t

The non-success status code returned by the underlying library.

§

Loader(LoaderError)

The dynamic loader failed.

§

FeatureNotSupported

The requested API is newer than the installed driver supports.

Fields

§api: &'static str

Value field.

§since: CudaVersion

Value field.