Enum blaze_rs::core::device::AtomicScope
source · #[non_exhaustive]#[repr(u64)]pub enum AtomicScope {
WorkGroup,
Device,
AllDevices,
}Available on crate feature
cl3 only.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.
WorkGroup
Support for memory ordering constraints that apply to all work-items in a work-group.
Device
Support for memory ordering constraints that apply to all work-items executing on the device.
AllDevices
Support for memory ordering constraints that apply to all work-items executing across all devices that can share SVM memory with each other and the host process.
Trait Implementations§
source§impl Clone for AtomicScope
impl Clone for AtomicScope
source§fn clone(&self) -> AtomicScope
fn clone(&self) -> AtomicScope
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 AtomicScope
impl Debug for AtomicScope
source§impl Hash for AtomicScope
impl Hash for AtomicScope
source§impl PartialEq<AtomicScope> for AtomicScope
impl PartialEq<AtomicScope> for AtomicScope
source§fn eq(&self, other: &AtomicScope) -> bool
fn eq(&self, other: &AtomicScope) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AtomicScope
impl Eq for AtomicScope
impl StructuralEq for AtomicScope
impl StructuralPartialEq for AtomicScope
Auto Trait Implementations§
impl RefUnwindSafe for AtomicScope
impl Send for AtomicScope
impl Sync for AtomicScope
impl Unpin for AtomicScope
impl UnwindSafe for AtomicScope
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