Enum cuda_oxide::stream::WaitValueMode [−][src]
#[repr(u32)] pub enum WaitValueMode { Geq, Eq, And, Nor, }
Expand description
Wait comparison type for waiting on some condition in Stream::wait_32
/etc
Variants
Wait until (int32_t)(*addr - value) >= 0 (or int64_t for 64 bit values). Note this is a cyclic comparison which ignores wraparound. (Default behavior.)
Wait until *addr == value.
Wait until (*addr & value) != 0.
Wait until ~(*addr | value) != 0. Support for this operation can be queried with cuDeviceGetAttribute() and CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR.
Trait Implementations
type Error = TryFromPrimitiveError<Self>
type Error = TryFromPrimitiveError<Self>
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for WaitValueMode
impl Send for WaitValueMode
impl Sync for WaitValueMode
impl Unpin for WaitValueMode
impl UnwindSafe for WaitValueMode
Blanket Implementations
Mutably borrows from an owned value. Read more