Enum cudarc::cudnn::sys::cudnnStatus_t
source · #[repr(u32)]pub enum cudnnStatus_t {
Show 15 variants
CUDNN_STATUS_SUCCESS,
CUDNN_STATUS_NOT_INITIALIZED,
CUDNN_STATUS_ALLOC_FAILED,
CUDNN_STATUS_BAD_PARAM,
CUDNN_STATUS_INTERNAL_ERROR,
CUDNN_STATUS_INVALID_VALUE,
CUDNN_STATUS_ARCH_MISMATCH,
CUDNN_STATUS_MAPPING_ERROR,
CUDNN_STATUS_EXECUTION_FAILED,
CUDNN_STATUS_NOT_SUPPORTED,
CUDNN_STATUS_LICENSE_ERROR,
CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING,
CUDNN_STATUS_RUNTIME_IN_PROGRESS,
CUDNN_STATUS_RUNTIME_FP_OVERFLOW,
CUDNN_STATUS_VERSION_MISMATCH,
}
Variants§
CUDNN_STATUS_SUCCESS
CUDNN_STATUS_NOT_INITIALIZED
CUDNN_STATUS_ALLOC_FAILED
CUDNN_STATUS_BAD_PARAM
CUDNN_STATUS_INTERNAL_ERROR
CUDNN_STATUS_INVALID_VALUE
CUDNN_STATUS_ARCH_MISMATCH
CUDNN_STATUS_MAPPING_ERROR
CUDNN_STATUS_EXECUTION_FAILED
CUDNN_STATUS_NOT_SUPPORTED
CUDNN_STATUS_LICENSE_ERROR
CUDNN_STATUS_RUNTIME_PREREQUISITE_MISSING
CUDNN_STATUS_RUNTIME_IN_PROGRESS
CUDNN_STATUS_RUNTIME_FP_OVERFLOW
CUDNN_STATUS_VERSION_MISMATCH
Implementations§
source§impl cudnnStatus_t
impl cudnnStatus_t
sourcepub fn result(self) -> Result<(), CudnnError>
pub fn result(self) -> Result<(), CudnnError>
Transforms into a Result of CudnnError
Trait Implementations§
source§impl Clone for cudnnStatus_t
impl Clone for cudnnStatus_t
source§fn clone(&self) -> cudnnStatus_t
fn clone(&self) -> cudnnStatus_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 cudnnStatus_t
impl Debug for cudnnStatus_t
source§impl Hash for cudnnStatus_t
impl Hash for cudnnStatus_t
source§impl Ord for cudnnStatus_t
impl Ord for cudnnStatus_t
source§fn cmp(&self, other: &cudnnStatus_t) -> Ordering
fn cmp(&self, other: &cudnnStatus_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<cudnnStatus_t> for cudnnStatus_t
impl PartialEq<cudnnStatus_t> for cudnnStatus_t
source§fn eq(&self, other: &cudnnStatus_t) -> bool
fn eq(&self, other: &cudnnStatus_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<cudnnStatus_t> for cudnnStatus_t
impl PartialOrd<cudnnStatus_t> for cudnnStatus_t
source§fn partial_cmp(&self, other: &cudnnStatus_t) -> Option<Ordering>
fn partial_cmp(&self, other: &cudnnStatus_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 cudnnStatus_t
impl Eq for cudnnStatus_t
impl StructuralEq for cudnnStatus_t
impl StructuralPartialEq for cudnnStatus_t
Auto Trait Implementations§
impl RefUnwindSafe for cudnnStatus_t
impl Send for cudnnStatus_t
impl Sync for cudnnStatus_t
impl Unpin for cudnnStatus_t
impl UnwindSafe for cudnnStatus_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