BLAS routines, SIMD vectorization & linear algebra algorithms

High-Performance Computing &
Matrix Multiplication Engines

A technical journal dedicated to GEMM optimizations, cache-tiled matrix multiplication, Strassen's algorithm, Eigen/LAPACK internals, and SIMD intrinsics.

Quick Filter:
● cache_tiled_gemm.cpp
#include <vector>

// Cache-tiled matrix multiplication (GEMM) for L1/L2 locality
void tiled_gemm(const float* A, const float* B, float* C, int N, int BLOCK_SIZE) {
    for (int i0 = 0; i0 < N; i0 += BLOCK_SIZE)
        for (int j0 = 0; j0 < N; j0 += BLOCK_SIZE)
            for (int k0 = 0; k0 < N; k0 += BLOCK_SIZE)
                for (int i = i0; i < i0 + BLOCK_SIZE; ++i)
                    for (int k = k0; k < k0 + BLOCK_SIZE; ++k)
                        for (int j = j0; j < j0 + BLOCK_SIZE; ++j)
                            C[i * N + j] += A[i * N + k] * B[k * N + j];
}

Matrix Dispatches

Showing 3 posts
#gemm 8 min read

Anatomy of High-Performance GEMM: From Naive Loops to BLIS

Step-by-step optimization of General Matrix Multiply operations using register packing, micro-kernels, and multi-level cache blocking.

OCT 2026 Read Dispatch
#simd 9 min read

Vectorizing Matrix Transposition with AVX-512 and ARM NEON

Using hardware-specific permutation intrinsics to transpose square matrices in-place without triggering cache line conflicts.

OCT 2026 Read Dispatch
#decomposition 7 min read

Numerical Stability in LU & Singular Value Decompositions (SVD)

Comparing partial pivoting strategies, QR factorizations via Householder reflections, and avoiding catastrophic cancellation.

SEP 2026 Read Dispatch

Subscribe to Matrix Operations

Receive weekly high-performance computing notes, BLAS benchmark analyses, and linear algebra dispatches in your inbox.