.. index:: pair: class; gpr::linalg::canonical::AlignedBlockCache .. _doxid-classgpr_1_1linalg_1_1canonical_1_1_aligned_block_cache: class gpr::linalg::canonical::AlignedBlockCache =============================================== .. toctree:: :hidden: 64-byte aligned blocks reused by the tile kernels of one thread. A tile copy is taken at every kernel call, and allocating each one costs about as much as the arithmetic of a small tile, so released blocks return here and the next copy of at most that size reuses one. .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class AlignedBlockCache { public: // methods static double* :target:`acquire`(std::size_t bytes); static void :target:`release`(double* storage, std::size_t bytes); private: // construction :target:`~AlignedBlockCache`(); };