Ross ROSS = Recommend OSS · open-source software intelligence for agents

siboehm/SGEMM_CUDA resource

Fast CUDA matrix multiplication from scratch observed · 2026-08-28

github.com/siboehm/SGEMM_CUDA · homepage · Cuda · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

50/100

  • Activity 40
  • Release rhythm 35
  • Longevity 99

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 1390
  • days_rel: n/a
  • days_push: 365
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1294 stars · 212 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

An educational repository demonstrating step-by-step optimization of a CUDA SGEMM (matrix multiplication) kernel from a naive implementation to within ~94% of cuBLAS performance. It accompanies a detailed blog worklog explaining GPU performance concepts like memory coalescing, shared memory caching, and warptiling.

Use cases

  • learn how to write fast CUDA matrix multiplication kernels
  • understand GPU memory coalescing and shared memory optimization
  • benchmark custom CUDA kernels against cuBLAS
  • study GPU performance optimization for deep learning workloads
  • learn CUDA kernel autotuning and warptiling techniques

When to choose

  • you want to learn CUDA kernel optimization from first principles
  • you need a worked example of optimizing matrix multiplication on NVIDIA GPUs
  • you want to understand why cuBLAS is fast and what techniques it uses

When to avoid

  • you need a production matrix multiplication library - use cuBLAS instead
  • you need tensor core (TF32/BF16) support, which is not covered
  • you work on non-NVIDIA GPUs, since the code is CUDA-specific

Facets

learning-resource · maturity stable

benchmarking math gpu-computing gpu-computing deep-learning performance tutorials cpp cuda sgemm matrix-multiplication kernel-optimization gpgpu educational algorithms linux

3 sources

Member repositories

RepositoryRoleHealth v2
siboehm/SGEMM_CUDAmain50

For agents

markdown · JSON · MCP: product_card(name="siboehm/SGEMM_CUDA")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem