qmetrics.net

CUTLASS

CUDA C++ templates and Python DSLs for GEMM

CUTLASS screenshot

CUTLASS provides abstractions for high-performance matrix multiplication and related linear algebra on NVIDIA GPUs. It offers C++ template components and Python CuTe DSL interfaces for kernel development.

Overview

CUTLASS is a collection of CUDA C++ template abstractions and Python domain-specific languages aimed at matrix-matrix multiplication and related workloads. It modularizes decomposition, data movement, and policy choices so developers can tune tiling, data types, and algorithms when building custom kernels.

The C++ side supports mixed-precision types including FP64 through narrow integers and block-scaled formats across Volta through Blackwell-class architectures. CUTLASS also adds Python DSLs, starting with CuTe DSL, which expose layouts, tensors, and hardware atoms with JIT compilation and framework integration options.

Beyond dense GEMM, documentation covers convolution via implicit GEMM, epilogue fusion, JAX integration, and an Operator API layer for discovering and running DSL-produced kernels. Installation is available through pip packages for the DSL, with optional tool extras and CUDA-version-specific variants.

The design parallels hierarchical strategies used in libraries such as cuBLAS and cuDNN, but targets authors who need specialized kernels rather than only calling fixed library entry points.

Key features

  • Modular CUDA GEMM template components
  • CuTe DSL for Python kernel authoring
  • Mixed-precision and block-scaled types
  • Tensor Core oriented linear algebra
  • Implicit GEMM convolution support
  • CUTLASS Operator API integration
  • Epilogue fusion configuration helpers
  • Architecture-tuned Blackwell and Hopper paths

Use cases

  • Custom GPU matrix multiply kernels
  • Research prototypes in Python DSL
  • Fused epilogues on GEMM outputs
  • Convolution via implicit GEMM reformulation
  • JAX-connected CUTLASS kernel calls

Tags

Similar software

Taichi

Python-embedded language for parallel GPU and CPU numerics

Taichi Lang is an imperative parallel language inside Python. A JIT compiler offloads heavy numeric code to GPU or CPU backends after you install it with pip.

★ 28.5k⟳ 1 year agoApache-2.0

GPU.js

JavaScript GPGPU kernels for browser and Node

GPU.js transpiles JavaScript functions into GPU shader code for parallel math. It runs in browsers via WebGL or WebGPU and in Node, with CPU and WebAssembly fallbacks when no GPU is available.

★ 15.5k⟳ 25 days agoMIT

BLIS

Portable framework for high-performance BLAS-like linear algebra

BLIS is a C99 framework for building optimized dense linear algebra libraries with a new API, BLAS compatibility, and optional plugins.

★ 2.7k⟳ 1 month agoBSD-2-Clause

ILGPU

JIT GPU compiler for high-performance .NET kernels

ILGPU compiles .NET languages to GPU kernels at runtime with no native dependencies in the compiler itself. It includes CPU accelerators for debugging and an algorithms library for common GPU primitives.

★ 1.8k⟳ 1 month agoMIT

OpenFermion

Python library for fermionic and quantum chemistry algorithms

OpenFermion compiles and analyzes quantum algorithms to simulate fermionic systems, including quantum chemistry, with data structures for fermion and qubit Hamiltonians.

★ 1.8k⟳ 1 month agoApache-2.0

Symbolics.jl

High-performance computer algebra and symbolic numerics for Julia

Symbolics.jl is a Julia CAS for symbolic arithmetic, differentiation, simplification, and code generation integrated with the SciML stack.

★ 1.5k⟳ 4 days agoMIT