#[repr(transparent)]pub struct cutensorStatus_t(pub i32);Expand description
cuTENSOR status code.
Tuple Fields§
§0: i32Implementations§
Source§impl cutensorStatus_t
impl cutensorStatus_t
Sourcepub const NOT_INITIALIZED: Self
pub const NOT_INITIALIZED: Self
CUTENSOR_STATUS_NOT_INITIALIZED — the library is not initialized.
Sourcepub const ALLOC_FAILED: Self
pub const ALLOC_FAILED: Self
CUTENSOR_STATUS_ALLOC_FAILED — an allocation failed.
Sourcepub const INVALID_VALUE: Self
pub const INVALID_VALUE: Self
CUTENSOR_STATUS_INVALID_VALUE — an argument has an invalid value.
Sourcepub const ARCH_MISMATCH: Self
pub const ARCH_MISMATCH: Self
CUTENSOR_STATUS_ARCH_MISMATCH — the device architecture is unsupported.
Sourcepub const MAPPING_ERROR: Self
pub const MAPPING_ERROR: Self
CUTENSOR_STATUS_MAPPING_ERROR — a host/device memory mapping error occurred.
Sourcepub const EXECUTION_FAILED: Self
pub const EXECUTION_FAILED: Self
CUTENSOR_STATUS_EXECUTION_FAILED — kernel execution failed.
Sourcepub const INTERNAL_ERROR: Self
pub const INTERNAL_ERROR: Self
CUTENSOR_STATUS_INTERNAL_ERROR — an internal cuTENSOR error occurred.
Sourcepub const NOT_SUPPORTED: Self
pub const NOT_SUPPORTED: Self
CUTENSOR_STATUS_NOT_SUPPORTED — the requested feature is not supported.
Sourcepub const LICENSE_ERROR: Self
pub const LICENSE_ERROR: Self
CUTENSOR_STATUS_LICENSE_ERROR — license check failed.
Sourcepub const CUBLAS_ERROR: Self
pub const CUBLAS_ERROR: Self
CUTENSOR_STATUS_CUBLAS_ERROR — an internal cuBLAS call failed.
Sourcepub const CUDA_ERROR: Self
pub const CUDA_ERROR: Self
CUTENSOR_STATUS_CUDA_ERROR — an internal CUDA call failed.
Sourcepub const INSUFFICIENT_WORKSPACE: Self
pub const INSUFFICIENT_WORKSPACE: Self
CUTENSOR_STATUS_INSUFFICIENT_WORKSPACE — supplied workspace buffer is too small.
Sourcepub const INSUFFICIENT_DRIVER: Self
pub const INSUFFICIENT_DRIVER: Self
CUTENSOR_STATUS_INSUFFICIENT_DRIVER — installed CUDA driver is too old.
Sourcepub const IO_ERROR: Self
pub const IO_ERROR: Self
CUTENSOR_STATUS_IO_ERROR — an I/O error occurred (cache read/write, logger, …).
Sourcepub const fn is_success(self) -> bool
pub const fn is_success(self) -> bool
Return true if the status code denotes success.
Trait Implementations§
Source§impl Clone for cutensorStatus_t
impl Clone for cutensorStatus_t
Source§fn clone(&self) -> cutensorStatus_t
fn clone(&self) -> cutensorStatus_t
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for cutensorStatus_t
Source§impl CudaStatus for cutensorStatus_t
impl CudaStatus for cutensorStatus_t
Source§fn name(self) -> &'static str
fn name(self) -> &'static str
"CUDA_SUCCESS", "CUBLAS_STATUS_NOT_INITIALIZED").Source§fn description(self) -> &'static str
fn description(self) -> &'static str
Source§fn is_success(self) -> bool
fn is_success(self) -> bool
true if this status represents successful completion.Source§impl Debug for cutensorStatus_t
impl Debug for cutensorStatus_t
impl Eq for cutensorStatus_t
Source§impl Hash for cutensorStatus_t
impl Hash for cutensorStatus_t
Source§impl Ord for cutensorStatus_t
impl Ord for cutensorStatus_t
Source§fn cmp(&self, other: &cutensorStatus_t) -> Ordering
fn cmp(&self, other: &cutensorStatus_t) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for cutensorStatus_t
impl PartialEq for cutensorStatus_t
Source§fn eq(&self, other: &cutensorStatus_t) -> bool
fn eq(&self, other: &cutensorStatus_t) -> bool
self and other values to be equal, and is used by ==.