Skip to main content

PermutePlan

Struct PermutePlan 

Source
pub struct PermutePlan {
    pub fused_dims: Vec<usize>,
    pub src_strides: Vec<isize>,
    pub dst_strides: Vec<isize>,
    pub root: Option<ComputeNode>,
    pub mode: ExecMode,
    pub lda_inner: isize,
    pub ldb_inner: isize,
    pub block: usize,
}
Expand description

Complete permutation plan.

Fields§

§fused_dims: Vec<usize>

Fused dimensions (after bilateral fusion).

§src_strides: Vec<isize>

Fused source strides.

§dst_strides: Vec<isize>

Fused destination strides.

§root: Option<ComputeNode>

Root of the recursive loop structure (None for Scalar mode).

§mode: ExecMode

Execution mode.

§lda_inner: isize

Source stride along dim_B — the “lda” for macro_kernel. (In the 2D view for the macro-kernel, this is the stride that steps between columns of the source tile.)

§ldb_inner: isize

Dest stride along dim_A — the “ldb” for macro_kernel.

§block: usize

Macro-kernel tile size (= BLOCK, e.g. 16 for f64).

Trait Implementations§

Source§

impl Debug for PermutePlan

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.