Skip to main content

Module matrix

Module matrix 

Source
Expand description

GF(2⁸) matrix — row-major layout, 64-byte aligned backing store.

The backing store is an AlignedBuffer with each row padded to a 64-byte-multiple stride. This guarantees that every row pointer passed to kernel::axpy / kernel::scale is 64-byte aligned, so the SIMD kernels always take the aligned fast path.

Example: symbol_size = 100 bytes → padded stride = 128 bytes. Row 0 starts at offset 0 (aligned). Row 1 starts at offset 128 (aligned).

Structs§

GfMatrix
Row-major GF(2⁸) matrix backed by a 64-byte aligned AlignedBuffer.