#[repr(transparent)]pub struct CUstreamWriteValue_flags_enum(pub c_uint);Expand description
Flags for ::cuStreamWriteValue32
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUstreamWriteValue_flags_enum
impl CUstreamWriteValue_flags_enum
Sourcepub const CU_STREAM_WRITE_VALUE_DEFAULT: CUstreamWriteValue_flags_enum
pub const CU_STREAM_WRITE_VALUE_DEFAULT: CUstreamWriteValue_flags_enum
Default behavior.
Sourcepub const CU_STREAM_WRITE_VALUE_NO_MEMORY_BARRIER: CUstreamWriteValue_flags_enum
pub const CU_STREAM_WRITE_VALUE_NO_MEMORY_BARRIER: CUstreamWriteValue_flags_enum
Permits the write to be reordered with writes which were issued before it, as a performance optimization.
Normally, cuStreamWriteValue32 will provide a memory fence before the write, which has similar semantics to __threadfence_system() but is scoped to the stream rather than a CUDA thread. This flag is not supported in the v2 API.
Trait Implementations§
impl Copy for CUstreamWriteValue_flags_enum
impl Eq for CUstreamWriteValue_flags_enum
Source§impl Hash for CUstreamWriteValue_flags_enum
impl Hash for CUstreamWriteValue_flags_enum
Source§impl Ord for CUstreamWriteValue_flags_enum
impl Ord for CUstreamWriteValue_flags_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 CUstreamWriteValue_flags_enum
impl PartialOrd for CUstreamWriteValue_flags_enum
impl StructuralPartialEq for CUstreamWriteValue_flags_enum
Auto Trait Implementations§
impl Forget for CUstreamWriteValue_flags_enum
impl Freeze for CUstreamWriteValue_flags_enum
impl Move for CUstreamWriteValue_flags_enum
impl RefUnwindSafe for CUstreamWriteValue_flags_enum
impl Send for CUstreamWriteValue_flags_enum
impl Sync for CUstreamWriteValue_flags_enum
impl Unpin for CUstreamWriteValue_flags_enum
impl UnsafeUnpin for CUstreamWriteValue_flags_enum
impl UnwindSafe for CUstreamWriteValue_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