Skip to main content

ColumnUpdate

Trait ColumnUpdate 

Source
pub(crate) trait ColumnUpdate: Copy {
    // Required method
    fn column_sub(
        self,
        c: &mut [DoubleDouble],
        a: &[DoubleDouble],
        t: DoubleDouble,
    );
}
Expand description

The column update of step B3, c_i ← c_i ⊖ (a_i ⊗ t) for every i: the one loop that the kernels of Algorithm B built on gemm vectorize (and the dense kernels of Chapter 11.7 with them). Implemented by the scalar reference::Reference and by the vectors of Chapter 11.6.

Required Methods§

Source

fn column_sub(self, c: &mut [DoubleDouble], a: &[DoubleDouble], t: DoubleDouble)

c ← c ⊖ a ⊗ t; c and a have the same length.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ColumnUpdate for Reference

Source§

impl<L: Lanes> ColumnUpdate for L

Step W1 for the column update of gemm_sub (step B3 of Chapter 11.5).