pub struct ScanHostDesc {
pub plan: Arc<ScanBodyPlan>,
pub outer_init_off: usize,
pub outer_final_off: usize,
pub length: u32,
pub save_trajectory: bool,
pub xs_outer: Vec<(usize, usize)>,
pub bcast_outer: Vec<(usize, usize)>,
}Expand description
Compiled scan + outer-arena layout — the fields formerly duplicated as
Step::ScanHost / Thunk::ScanHost across Metal / CUDA / ROCm / wgpu.
Fields§
§plan: Arc<ScanBodyPlan>§outer_init_off: usize§outer_final_off: usize§length: u32§save_trajectory: bool§xs_outer: Vec<(usize, usize)>(outer_off, per_step_bytes) for each per-step xs input.
bcast_outer: Vec<(usize, usize)>(outer_off, total_bytes) for each broadcast input.
Trait Implementations§
Source§impl Clone for ScanHostDesc
impl Clone for ScanHostDesc
Source§fn clone(&self) -> ScanHostDesc
fn clone(&self) -> ScanHostDesc
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 !RefUnwindSafe for ScanHostDesc
impl !UnwindSafe for ScanHostDesc
impl Freeze for ScanHostDesc
impl Send for ScanHostDesc
impl Sync for ScanHostDesc
impl Unpin for ScanHostDesc
impl UnsafeUnpin for ScanHostDesc
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> 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