pub struct ExecutionLane<R: DeviceRuntime> { /* private fields */ }Expand description
Scheduler-owned stream lane. It is intentionally not bound to any request or sequence and may enqueue multiple mixed-batch commands in stream order.
Implementations§
Source§impl<R: DeviceRuntime> ExecutionLane<R>
impl<R: DeviceRuntime> ExecutionLane<R>
pub fn create( runtime: Arc<R>, ) -> Result<Arc<Self>, ExecutionLaneCreationError<R::Error>>
pub fn descriptor(&self) -> &DeviceDescriptor
pub const fn id(&self) -> ExecutionLaneId
pub fn is_reusable(&self) -> bool
pub fn is_fail_closed(&self) -> bool
pub fn in_flight_count(&self) -> u64
pub fn reusable_execution_epoch(&self) -> u64
pub fn configure_reusable_executables( &self, plan: DeviceReusableExecutionPlan, ) -> Result<DeviceReusableExecutionPreparation, VNextError>
pub fn seal_reusable_executables( &self, ) -> Result<DeviceReusableExecutionPreparation, VNextError>
pub fn reusable_executable_preparation( &self, ) -> Result<DeviceReusableExecutionPreparation, VNextError>
pub fn reusable_execution_catalog( &self, ) -> Result<ExecutionLaneReusableExecutionCatalog, VNextError>
Trait Implementations§
Auto Trait Implementations§
impl<R> !Freeze for ExecutionLane<R>
impl<R> RefUnwindSafe for ExecutionLane<R>where
Arc<R>: RefUnwindSafe,
Mutex<ExecutionLaneState<<R as DeviceRuntime>::Stream>>: RefUnwindSafe,
impl<R> Send for ExecutionLane<R>
impl<R> Sync for ExecutionLane<R>
impl<R> Unpin for ExecutionLane<R>
impl<R> UnsafeUnpin for ExecutionLane<R>
impl<R> UnwindSafe for ExecutionLane<R>
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