Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruction.
☆576Sep 8, 2024Updated 2 years ago
Alternatives and similar repositories for cuda_hgemm
Users that are interested in cuda_hgemm are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Several optimization methods of half-precision general matrix vector multiplication (HGEMV) using CUDA core.☆77Sep 8, 2024Updated 2 years ago
- A Easy-to-understand TensorOp Matmul Tutorial☆461Mar 5, 2026Updated 9 months ago
- ☆161Dec 26, 2024Updated last year
- This is a series of GPU optimization topics. Here we will introduce how to optimize the CUDA kernel in detail. I will introduce several…☆1,371Jul 29, 2023Updated 3 years ago
- ☆271Jul 11, 2024Updated 2 years ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- A simple high performance CUDA GEMM implementation.☆441Jan 4, 2024Updated 2 years ago
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆431Jan 2, 2025Updated last year
- flash attention tutorial written in python, triton, cuda, cutlass☆543Nov 9, 2026Updated 3 weeks ago
- Yinghan's Code Sample☆368Jul 25, 2022Updated 4 years ago
- Decoding Attention is specially optimized for MHA, MQA, GQA and MLA using CUDA core for the decoding stage of LLM inference.☆48Jun 11, 2025Updated last year
- ☆196May 11, 2026Updated 6 months ago
- Performance of the C++ interface of flash attention and flash attention v2 in large language model (LLM) inference scenarios.☆46Feb 27, 2025Updated last year
- Fastest kernels written from scratch☆633Aug 15, 2026Updated 3 months ago
- Examples of CUDA implementations by Cutlass CuTe☆284Jul 1, 2025Updated last year
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- CUTLASS and CuTe Examples☆143Nov 30, 2025Updated last year
- CUDA Matrix Multiplication Optimization☆283Jul 19, 2024Updated 2 years ago
- how to optimize some algorithm in cuda.☆3,363Nov 2, 2026Updated last month
- An extension library of WMMA API (Tensor Core API)☆115Jul 12, 2024Updated 2 years ago
- ☆123May 16, 2025Updated last year
- ⚡️Write HGEMM from scratch using Tensor Cores with WMMA, MMA and CuTe API, Achieve Peak⚡️ Performance.☆158May 10, 2025Updated last year
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆82Aug 12, 2024Updated 2 years ago
- row-major matmul optimization☆764May 14, 2026Updated 6 months ago
- An Open-source book with Modern CUDA learning Notes for Beginners - BF16/FP8/FP4, HGEMM, CuTe, Flash-Attention, etc.☆12,253Nov 24, 2026Updated last week
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- ☆205Aug 9, 2026Updated 3 months ago
- Matrix Multiply-Accumulate with CUDA and WMMA( Tensor Core)☆150Aug 18, 2020Updated 6 years ago
- Step-by-step optimization of CUDA SGEMM☆532Mar 30, 2022Updated 4 years ago
- collection of benchmarks to measure basic GPU capabilities☆544Oct 24, 2025Updated last year
- BitBLAS is a library to support mixed-precision matrix multiplications, especially for quantized LLM deployment.☆771Aug 6, 2025Updated last year
- ☆159Mar 18, 2024Updated 2 years ago
- Standalone Flash Attention v2 kernel without libtorch dependency☆113Sep 10, 2024Updated 2 years ago
- Fast CUDA matrix multiplication from scratch☆1,375Sep 2, 2025Updated last year
- Use tensor core to calculate back-to-back HGEMM (half-precision general matrix multiplication) with MMA PTX instruction.☆13Nov 3, 2023Updated 3 years ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Kernel Library for Large Headdim Attention (64~1024, BF16/FP8/FP4), 1.5x~15x↑ vs PyTorch SDPA.☆352Updated this week
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆10,800Updated this week
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,205Dec 30, 2024Updated last year
- FP16xINT4 LLM inference kernel that can achieve near-ideal ~4x speedups up to medium batchsizes of 16-32 tokens.☆1,189Sep 4, 2024Updated 2 years ago
- An unofficial cuda assembler, for all generations of SASS, hopefully :)☆644Apr 20, 2023Updated 3 years ago
- Implement Flash Attention using Cute.☆113Dec 17, 2024Updated last year
- ☆116Apr 19, 2024Updated 2 years ago
Are these results useful?