#[repr(transparent)]pub struct CUstreamBatchMemOpType_enum(pub c_uint);Expand description
Operations for ::cuStreamBatchMemOp
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUstreamBatchMemOpType_enum
impl CUstreamBatchMemOpType_enum
Sourcepub const CU_STREAM_MEM_OP_WAIT_VALUE_32: CUstreamBatchMemOpType_enum
pub const CU_STREAM_MEM_OP_WAIT_VALUE_32: CUstreamBatchMemOpType_enum
Represents a cuStreamWaitValue32 operation.
Sourcepub const CU_STREAM_MEM_OP_WRITE_VALUE_32: CUstreamBatchMemOpType_enum
pub const CU_STREAM_MEM_OP_WRITE_VALUE_32: CUstreamBatchMemOpType_enum
Represents a cuStreamWriteValue32 operation.
Sourcepub const CU_STREAM_MEM_OP_WAIT_VALUE_64: CUstreamBatchMemOpType_enum
pub const CU_STREAM_MEM_OP_WAIT_VALUE_64: CUstreamBatchMemOpType_enum
Represents a cuStreamWaitValue64 operation.
Sourcepub const CU_STREAM_MEM_OP_WRITE_VALUE_64: CUstreamBatchMemOpType_enum
pub const CU_STREAM_MEM_OP_WRITE_VALUE_64: CUstreamBatchMemOpType_enum
Represents a cuStreamWriteValue64 operation.
Sourcepub const CU_STREAM_MEM_OP_BARRIER: CUstreamBatchMemOpType_enum
pub const CU_STREAM_MEM_OP_BARRIER: CUstreamBatchMemOpType_enum
Insert a memory barrier of the specified type.
Sourcepub const CU_STREAM_MEM_OP_ATOMIC_REDUCTION: CUstreamBatchMemOpType_enum
pub const CU_STREAM_MEM_OP_ATOMIC_REDUCTION: CUstreamBatchMemOpType_enum
Perform a atomic reduction.
See CUstreamBatchMemOpParams::atomicReduction.
Sourcepub const CU_STREAM_MEM_OP_FLUSH_REMOTE_WRITES: CUstreamBatchMemOpType_enum
pub const CU_STREAM_MEM_OP_FLUSH_REMOTE_WRITES: CUstreamBatchMemOpType_enum
This has the same effect as CUstreamWaitValue_flags_enum::CU_STREAM_WAIT_VALUE_FLUSH, but as a standalone operation.
Trait Implementations§
Source§impl Clone for CUstreamBatchMemOpType_enum
impl Clone for CUstreamBatchMemOpType_enum
impl Copy for CUstreamBatchMemOpType_enum
Source§impl Debug for CUstreamBatchMemOpType_enum
impl Debug for CUstreamBatchMemOpType_enum
impl Eq for CUstreamBatchMemOpType_enum
Source§impl Hash for CUstreamBatchMemOpType_enum
impl Hash for CUstreamBatchMemOpType_enum
Source§impl Ord for CUstreamBatchMemOpType_enum
impl Ord for CUstreamBatchMemOpType_enum
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUstreamBatchMemOpType_enum
impl PartialOrd for CUstreamBatchMemOpType_enum
impl StructuralPartialEq for CUstreamBatchMemOpType_enum
Auto Trait Implementations§
impl Forget for CUstreamBatchMemOpType_enum
impl Freeze for CUstreamBatchMemOpType_enum
impl Move for CUstreamBatchMemOpType_enum
impl RefUnwindSafe for CUstreamBatchMemOpType_enum
impl Send for CUstreamBatchMemOpType_enum
impl Sync for CUstreamBatchMemOpType_enum
impl Unpin for CUstreamBatchMemOpType_enum
impl UnsafeUnpin for CUstreamBatchMemOpType_enum
impl UnwindSafe for CUstreamBatchMemOpType_enum
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