einsums::packed_gemm::pack_B#

Note

Generated from the C++ headers by apiary --emit-cpp-docs-json.

Defined in header Einsums/PackedGemm/Packing.hpp.

template<typename T>
void pack_B(T *Bp, const T *B_data, const PackingPlan &plan, int64_t kc_start, int64_t kc_len, int64_t nc_start, int64_t nc_len, int NR, bool conj)#

Gather-pack B[kc:kc+kc_len, nc:nc+nc_len] into row-major KC*NR panels.

Supports single-N (fast paths with memcpy) and multi-N (flat-index-to-offset conversion).