Enum kn_cuda_sys::bindings::cl_event_flags_enum
source · #[non_exhaustive]#[repr(u32)]pub enum cl_event_flags_enum {
NVCL_EVENT_SCHED_AUTO = 0,
NVCL_EVENT_SCHED_SPIN = 1,
NVCL_EVENT_SCHED_YIELD = 2,
NVCL_EVENT_SCHED_BLOCKING_SYNC = 4,
}Expand description
NVCL event scheduling flags
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.
NVCL_EVENT_SCHED_AUTO = 0
< Automatic scheduling
NVCL_EVENT_SCHED_SPIN = 1
< Set spin as default scheduling
NVCL_EVENT_SCHED_YIELD = 2
< Set yield as default scheduling
NVCL_EVENT_SCHED_BLOCKING_SYNC = 4
< Set blocking synchronization as default scheduling
Trait Implementations§
source§impl Clone for cl_event_flags_enum
impl Clone for cl_event_flags_enum
source§fn clone(&self) -> cl_event_flags_enum
fn clone(&self) -> cl_event_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 Debug for cl_event_flags_enum
impl Debug for cl_event_flags_enum
source§impl Hash for cl_event_flags_enum
impl Hash for cl_event_flags_enum
source§impl PartialEq for cl_event_flags_enum
impl PartialEq for cl_event_flags_enum
source§fn eq(&self, other: &cl_event_flags_enum) -> bool
fn eq(&self, other: &cl_event_flags_enum) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for cl_event_flags_enum
impl Eq for cl_event_flags_enum
impl StructuralPartialEq for cl_event_flags_enum
Auto Trait Implementations§
impl RefUnwindSafe for cl_event_flags_enum
impl Send for cl_event_flags_enum
impl Sync for cl_event_flags_enum
impl Unpin for cl_event_flags_enum
impl UnwindSafe for cl_event_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