Enum cudarc::cublas::sys::cublasStatus_t
source · #[repr(u32)]pub enum cublasStatus_t {
CUBLAS_STATUS_SUCCESS = 0,
CUBLAS_STATUS_NOT_INITIALIZED = 1,
CUBLAS_STATUS_ALLOC_FAILED = 3,
CUBLAS_STATUS_INVALID_VALUE = 7,
CUBLAS_STATUS_ARCH_MISMATCH = 8,
CUBLAS_STATUS_MAPPING_ERROR = 11,
CUBLAS_STATUS_EXECUTION_FAILED = 13,
CUBLAS_STATUS_INTERNAL_ERROR = 14,
CUBLAS_STATUS_NOT_SUPPORTED = 15,
CUBLAS_STATUS_LICENSE_ERROR = 16,
}
Variants§
CUBLAS_STATUS_SUCCESS = 0
CUBLAS_STATUS_NOT_INITIALIZED = 1
CUBLAS_STATUS_ALLOC_FAILED = 3
CUBLAS_STATUS_INVALID_VALUE = 7
CUBLAS_STATUS_ARCH_MISMATCH = 8
CUBLAS_STATUS_MAPPING_ERROR = 11
CUBLAS_STATUS_EXECUTION_FAILED = 13
CUBLAS_STATUS_INTERNAL_ERROR = 14
CUBLAS_STATUS_NOT_SUPPORTED = 15
CUBLAS_STATUS_LICENSE_ERROR = 16
Implementations§
source§impl cublasStatus_t
impl cublasStatus_t
pub fn result(self) -> Result<(), CublasError>
Trait Implementations§
source§impl Clone for cublasStatus_t
impl Clone for cublasStatus_t
source§fn clone(&self) -> cublasStatus_t
fn clone(&self) -> cublasStatus_t
Returns a copy 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 cublasStatus_t
impl Debug for cublasStatus_t
source§impl Hash for cublasStatus_t
impl Hash for cublasStatus_t
source§impl Ord for cublasStatus_t
impl Ord for cublasStatus_t
source§fn cmp(&self, other: &cublasStatus_t) -> Ordering
fn cmp(&self, other: &cublasStatus_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 cublasStatus_t
impl PartialEq for cublasStatus_t
source§fn eq(&self, other: &cublasStatus_t) -> bool
fn eq(&self, other: &cublasStatus_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for cublasStatus_t
impl PartialOrd for cublasStatus_t
source§fn partial_cmp(&self, other: &cublasStatus_t) -> Option<Ordering>
fn partial_cmp(&self, other: &cublasStatus_t) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for cublasStatus_t
impl Eq for cublasStatus_t
impl StructuralPartialEq for cublasStatus_t
Auto Trait Implementations§
impl Freeze for cublasStatus_t
impl RefUnwindSafe for cublasStatus_t
impl Send for cublasStatus_t
impl Sync for cublasStatus_t
impl Unpin for cublasStatus_t
impl UnwindSafe for cublasStatus_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