pub struct TilePlan { /* private fields */ }Expand description
Complete deterministic tiling chosen before any Tensor submission.
Implementations§
Source§impl TilePlan
impl TilePlan
Sourcepub fn new(
plane: SamplingPlane,
wavenumber_rad_per_metre: f64,
budget: PhaseBudget,
profile: TileProfile,
) -> Result<Self, LoweringError>
pub fn new( plane: SamplingPlane, wavenumber_rad_per_metre: f64, budget: PhaseBudget, profile: TileProfile, ) -> Result<Self, LoweringError>
Splits a plane under phase, element, segment, and byte limits.
Sourcepub fn tile_rows(&self) -> usize
pub fn tile_rows(&self) -> usize
Returns the nominal row count used before clipping edge tiles.
Sourcepub fn tile_columns(&self) -> usize
pub fn tile_columns(&self) -> usize
Returns the nominal column count used before clipping edge tiles.
Sourcepub fn conservative_max_abs_phase_rad(&self) -> f64
pub fn conservative_max_abs_phase_rad(&self) -> f64
Returns the conservative k * tile_radius bound.
Trait Implementations§
impl StructuralPartialEq for TilePlan
Auto Trait Implementations§
impl Freeze for TilePlan
impl RefUnwindSafe for TilePlan
impl Send for TilePlan
impl Sync for TilePlan
impl Unpin for TilePlan
impl UnsafeUnpin for TilePlan
impl UnwindSafe for TilePlan
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