pub struct SyncFlags {
pub threads_in_group: bool,
pub group_shared_memory: bool,
pub uav_group: bool,
pub uav_global: bool,
}Expand description
What a sync instruction waits for (control bits 0 to 3; the listing of Microsoft’s disassembler adds a suffix for
each: _t, _g, _ugroup, _uglobal).
Fields§
§threads_in_group: boolBit 0: every thread of the group reaches the instruction first (_t).
Bit 1: group shared memory accesses are complete (_g).
uav_group: boolBit 2: unordered-access view accesses are complete within the group (_ugroup).
uav_global: boolBit 3: unordered-access view accesses are complete across all groups (_uglobal).
Trait Implementations§
impl Copy for SyncFlags
impl Eq for SyncFlags
impl StructuralPartialEq for SyncFlags
Auto Trait Implementations§
impl Forget for SyncFlags
impl Freeze for SyncFlags
impl RefUnwindSafe for SyncFlags
impl Send for SyncFlags
impl Sync for SyncFlags
impl Unpin for SyncFlags
impl UnsafeUnpin for SyncFlags
impl UnwindSafe for SyncFlags
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