pub enum MemScope {
Cta,
Gpu,
Sys,
}Expand description
Synchronization scope for atomic operations.
Variants§
Cta
Cooperative thread array (thread block).
Gpu
All threads on the GPU (default).
Sys
All threads in the system.
Auto Trait Implementations§
impl Freeze for MemScope
impl RefUnwindSafe for MemScope
impl Send for MemScope
impl Sync for MemScope
impl Unpin for MemScope
impl UnsafeUnpin for MemScope
impl UnwindSafe for MemScope
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