Enum cudarc::cublas::sys::cublasStatus_t
source · #[repr(u32)]pub enum cublasStatus_t {
CUBLAS_STATUS_SUCCESS,
CUBLAS_STATUS_NOT_INITIALIZED,
CUBLAS_STATUS_ALLOC_FAILED,
CUBLAS_STATUS_INVALID_VALUE,
CUBLAS_STATUS_ARCH_MISMATCH,
CUBLAS_STATUS_MAPPING_ERROR,
CUBLAS_STATUS_EXECUTION_FAILED,
CUBLAS_STATUS_INTERNAL_ERROR,
CUBLAS_STATUS_NOT_SUPPORTED,
CUBLAS_STATUS_LICENSE_ERROR,
}
Variants§
CUBLAS_STATUS_SUCCESS
CUBLAS_STATUS_NOT_INITIALIZED
CUBLAS_STATUS_ALLOC_FAILED
CUBLAS_STATUS_INVALID_VALUE
CUBLAS_STATUS_ARCH_MISMATCH
CUBLAS_STATUS_MAPPING_ERROR
CUBLAS_STATUS_EXECUTION_FAILED
CUBLAS_STATUS_INTERNAL_ERROR
CUBLAS_STATUS_NOT_SUPPORTED
CUBLAS_STATUS_LICENSE_ERROR
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<cublasStatus_t> for cublasStatus_t
impl PartialEq<cublasStatus_t> 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<cublasStatus_t> for cublasStatus_t
impl PartialOrd<cublasStatus_t> 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 StructuralEq 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