Enum cudarc::cudnn::sys::cudnnOpTensorOp_t
source · #[repr(u32)]pub enum cudnnOpTensorOp_t {
CUDNN_OP_TENSOR_ADD,
CUDNN_OP_TENSOR_MUL,
CUDNN_OP_TENSOR_MIN,
CUDNN_OP_TENSOR_MAX,
CUDNN_OP_TENSOR_SQRT,
CUDNN_OP_TENSOR_NOT,
}
Variants§
CUDNN_OP_TENSOR_ADD
CUDNN_OP_TENSOR_MUL
CUDNN_OP_TENSOR_MIN
CUDNN_OP_TENSOR_MAX
CUDNN_OP_TENSOR_SQRT
CUDNN_OP_TENSOR_NOT
Trait Implementations§
source§impl Clone for cudnnOpTensorOp_t
impl Clone for cudnnOpTensorOp_t
source§fn clone(&self) -> cudnnOpTensorOp_t
fn clone(&self) -> cudnnOpTensorOp_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 cudnnOpTensorOp_t
impl Debug for cudnnOpTensorOp_t
source§impl Hash for cudnnOpTensorOp_t
impl Hash for cudnnOpTensorOp_t
source§impl Ord for cudnnOpTensorOp_t
impl Ord for cudnnOpTensorOp_t
source§fn cmp(&self, other: &cudnnOpTensorOp_t) -> Ordering
fn cmp(&self, other: &cudnnOpTensorOp_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<cudnnOpTensorOp_t> for cudnnOpTensorOp_t
impl PartialEq<cudnnOpTensorOp_t> for cudnnOpTensorOp_t
source§fn eq(&self, other: &cudnnOpTensorOp_t) -> bool
fn eq(&self, other: &cudnnOpTensorOp_t) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<cudnnOpTensorOp_t> for cudnnOpTensorOp_t
impl PartialOrd<cudnnOpTensorOp_t> for cudnnOpTensorOp_t
source§fn partial_cmp(&self, other: &cudnnOpTensorOp_t) -> Option<Ordering>
fn partial_cmp(&self, other: &cudnnOpTensorOp_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 cudnnOpTensorOp_t
impl Eq for cudnnOpTensorOp_t
impl StructuralEq for cudnnOpTensorOp_t
impl StructuralPartialEq for cudnnOpTensorOp_t
Auto Trait Implementations§
impl RefUnwindSafe for cudnnOpTensorOp_t
impl Send for cudnnOpTensorOp_t
impl Sync for cudnnOpTensorOp_t
impl Unpin for cudnnOpTensorOp_t
impl UnwindSafe for cudnnOpTensorOp_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