#[repr(u32)]pub enum cutensorStatus_t {
Show 15 variants
CUTENSOR_STATUS_SUCCESS = 0,
CUTENSOR_STATUS_NOT_INITIALIZED = 1,
CUTENSOR_STATUS_ALLOC_FAILED = 3,
CUTENSOR_STATUS_INVALID_VALUE = 7,
CUTENSOR_STATUS_ARCH_MISMATCH = 8,
CUTENSOR_STATUS_MAPPING_ERROR = 11,
CUTENSOR_STATUS_EXECUTION_FAILED = 13,
CUTENSOR_STATUS_INTERNAL_ERROR = 14,
CUTENSOR_STATUS_NOT_SUPPORTED = 15,
CUTENSOR_STATUS_LICENSE_ERROR = 16,
CUTENSOR_STATUS_CUBLAS_ERROR = 17,
CUTENSOR_STATUS_CUDA_ERROR = 18,
CUTENSOR_STATUS_INSUFFICIENT_WORKSPACE = 19,
CUTENSOR_STATUS_INSUFFICIENT_DRIVER = 20,
CUTENSOR_STATUS_IO_ERROR = 21,
}Variants§
CUTENSOR_STATUS_SUCCESS = 0
CUTENSOR_STATUS_NOT_INITIALIZED = 1
CUTENSOR_STATUS_ALLOC_FAILED = 3
CUTENSOR_STATUS_INVALID_VALUE = 7
CUTENSOR_STATUS_ARCH_MISMATCH = 8
CUTENSOR_STATUS_MAPPING_ERROR = 11
CUTENSOR_STATUS_EXECUTION_FAILED = 13
CUTENSOR_STATUS_INTERNAL_ERROR = 14
CUTENSOR_STATUS_NOT_SUPPORTED = 15
CUTENSOR_STATUS_LICENSE_ERROR = 16
CUTENSOR_STATUS_CUBLAS_ERROR = 17
CUTENSOR_STATUS_CUDA_ERROR = 18
CUTENSOR_STATUS_INSUFFICIENT_WORKSPACE = 19
CUTENSOR_STATUS_INSUFFICIENT_DRIVER = 20
CUTENSOR_STATUS_IO_ERROR = 21
Trait Implementations§
Source§impl Clone for cutensorStatus_t
impl Clone for cutensorStatus_t
Source§fn clone(&self) -> cutensorStatus_t
fn clone(&self) -> cutensorStatus_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for cutensorStatus_t
impl Debug 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 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cutensorStatus_t
impl PartialEq for cutensorStatus_t
Source§impl PartialOrd for cutensorStatus_t
impl PartialOrd for cutensorStatus_t
impl Copy for cutensorStatus_t
impl Eq for cutensorStatus_t
impl StructuralPartialEq for cutensorStatus_t
Auto Trait Implementations§
impl Freeze for cutensorStatus_t
impl RefUnwindSafe for cutensorStatus_t
impl Send for cutensorStatus_t
impl Sync for cutensorStatus_t
impl Unpin for cutensorStatus_t
impl UnsafeUnpin for cutensorStatus_t
impl UnwindSafe for cutensorStatus_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more