Enum rcublas_sys::cublasStatus_t
source · #[non_exhaustive]#[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 (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future 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
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 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 ==
.impl Copy for cublasStatus_t
impl Eq for cublasStatus_t
impl StructuralPartialEq for cublasStatus_t
Auto Trait Implementations§
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