pub struct DeviceCommandBatch<C> { /* private fields */ }Expand description
Core-owned physical submission unit.
Operation providers produce individual commands, while the execution runtime decides which commands share one ordered device submission and completion fence. Construction stays private to core so a backend cannot silently split one admitted lane segment into unrelated submissions.
Implementations§
Source§impl<C> DeviceCommandBatch<C>
impl<C> DeviceCommandBatch<C>
pub fn reusable_execution_capture( &self, ) -> Option<&DeviceReusableExecutionCapture>
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub const fn timing_mode(&self) -> DeviceTimingMode
pub const fn compute_path_requirement(&self) -> DeviceComputePathRequirement
pub fn declared_eager_compute_node_indices(&self) -> &[u32]
pub const fn attribution_requirement( &self, ) -> DeviceSubmissionAttributionRequirement
pub fn into_commands(self) -> Vec<C>
pub fn into_entries(self) -> Vec<DeviceCommandEntry<C>>
Auto Trait Implementations§
impl<C> Freeze for DeviceCommandBatch<C>
impl<C> RefUnwindSafe for DeviceCommandBatch<C>
impl<C> Send for DeviceCommandBatch<C>
impl<C> Sync for DeviceCommandBatch<C>
impl<C> Unpin for DeviceCommandBatch<C>
impl<C> UnsafeUnpin for DeviceCommandBatch<C>
impl<C> UnwindSafe for DeviceCommandBatch<C>
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