pub enum DeviceCommandPhase {
Initialization,
DynamicBinding,
Compute,
ResultBinding,
}Expand description
Semantic phase of one command inside a core-owned submission batch.
Backends may use this phase to compile reusable device executables, but
they must preserve the original ordering and may only reuse Compute
commands whose backend provider supplied an exact replay contract.
Initialization, dynamic binding, and result binding commands are explicit
eager barriers: replaying them can reset live state, reuse stale request
data, or write results into an earlier request’s backing.
Variants§
Trait Implementations§
Source§impl Clone for DeviceCommandPhase
impl Clone for DeviceCommandPhase
Source§fn clone(&self) -> DeviceCommandPhase
fn clone(&self) -> DeviceCommandPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DeviceCommandPhase
Source§impl Debug for DeviceCommandPhase
impl Debug for DeviceCommandPhase
impl Eq for DeviceCommandPhase
Source§impl PartialEq for DeviceCommandPhase
impl PartialEq for DeviceCommandPhase
Source§impl Serialize for DeviceCommandPhase
impl Serialize for DeviceCommandPhase
impl StructuralPartialEq for DeviceCommandPhase
Auto Trait Implementations§
impl Freeze for DeviceCommandPhase
impl RefUnwindSafe for DeviceCommandPhase
impl Send for DeviceCommandPhase
impl Sync for DeviceCommandPhase
impl Unpin for DeviceCommandPhase
impl UnsafeUnpin for DeviceCommandPhase
impl UnwindSafe for DeviceCommandPhase
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