.. index:: pair: class; gpr::linalg::canonical::AlignedTile .. _doxid-classgpr_1_1linalg_1_1canonical_1_1_aligned_tile: class gpr::linalg::canonical::AlignedTile ========================================= .. toctree:: :hidden: A tile copied into storage aligned to 64 bytes. The vector kernels of :ref:`Eigen ` and of the BLAS split a product or a reduction at the first aligned address of an operand, so the order of the additions follows the operand's address modulo the vector width; heap blocks from the system allocator are aligned to 16 bytes, which leaves that order to address randomisation. Copying every operand of a tile kernel to a 64-byte boundary (the widest vector, AVX-512) with a fixed leading dimension fixes the order, so a run repeats its rounding bit for bit. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class AlignedTile { public: // construction template :target:`AlignedTile`(const Eigen::MatrixBase& source); :target:`AlignedTile`(const AlignedTile&); :target:`~AlignedTile`(); // methods :ref:`AlignedTile`& :target:`operator=`(const :ref:`AlignedTile`&); Eigen::Map :target:`map`(); };