pub struct KernelBufferAccess {
pub buffers: Vec<BufferId>,
pub output_indices: Vec<usize>,
}Expand description
Buffer access information for parallel kernel execution.
This struct captures which buffers a kernel accesses and which are outputs,
enabling precise dependency tracking in execute_parallel_group.
Fields§
§buffers: Vec<BufferId>All buffer IDs accessed by this kernel (inputs and outputs).
output_indices: Vec<usize>Indices into buffers that are outputs (written by the kernel).
Other indices are inputs (read-only).
Trait Implementations§
Source§impl Clone for KernelBufferAccess
impl Clone for KernelBufferAccess
Source§fn clone(&self) -> KernelBufferAccess
fn clone(&self) -> KernelBufferAccess
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 moreAuto Trait Implementations§
impl Freeze for KernelBufferAccess
impl RefUnwindSafe for KernelBufferAccess
impl Send for KernelBufferAccess
impl Sync for KernelBufferAccess
impl Unpin for KernelBufferAccess
impl UnsafeUnpin for KernelBufferAccess
impl UnwindSafe for KernelBufferAccess
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more