#[non_exhaustive]#[repr(u32)]pub enum CUstreamMemoryBarrier_flags_enum {
CU_STREAM_MEMORY_BARRIER_TYPE_SYS = 0,
CU_STREAM_MEMORY_BARRIER_TYPE_GPU = 1,
}Expand description
Flags for ::cuStreamMemoryBarrier
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.
CU_STREAM_MEMORY_BARRIER_TYPE_SYS = 0
< System-wide memory barrier.
CU_STREAM_MEMORY_BARRIER_TYPE_GPU = 1
< Limit memory barrier scope to the GPU.
Trait Implementations§
source§impl Clone for CUstreamMemoryBarrier_flags_enum
impl Clone for CUstreamMemoryBarrier_flags_enum
source§fn clone(&self) -> CUstreamMemoryBarrier_flags_enum
fn clone(&self) -> CUstreamMemoryBarrier_flags_enum
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 PartialEq for CUstreamMemoryBarrier_flags_enum
impl PartialEq for CUstreamMemoryBarrier_flags_enum
source§fn eq(&self, other: &CUstreamMemoryBarrier_flags_enum) -> bool
fn eq(&self, other: &CUstreamMemoryBarrier_flags_enum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for CUstreamMemoryBarrier_flags_enum
impl Eq for CUstreamMemoryBarrier_flags_enum
impl StructuralPartialEq for CUstreamMemoryBarrier_flags_enum
Auto Trait Implementations§
impl RefUnwindSafe for CUstreamMemoryBarrier_flags_enum
impl Send for CUstreamMemoryBarrier_flags_enum
impl Sync for CUstreamMemoryBarrier_flags_enum
impl Unpin for CUstreamMemoryBarrier_flags_enum
impl UnwindSafe for CUstreamMemoryBarrier_flags_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