pub enum Scope {
CrossDevice = 0,
Device = 1,
Workgroup = 2,
Subgroup = 3,
Invocation = 4,
QueueFamily = 5,
}
Expand description
Specification for how large of a scope some instructions should operate on - used when calling functions that take a configurable scope.
Variants§
CrossDevice = 0
Crosses multiple devices.
Device = 1
The current device.
Workgroup = 2
The current workgroup.
Subgroup = 3
The current subgroup.
Invocation = 4
The current invocation.
QueueFamily = 5
The current queue family.
Trait Implementations§
source§impl PartialEq for Scope
impl PartialEq for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnwindSafe for Scope
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