This is a series of GPU optimization topics. Here we will introduce how to optimize the CUDA kernel in detail. I will introduce several basic kernel optimizations, including: elementwise, reduce, sgemv, sgemm, etc. The performance of these kernels is basically at or near the theoretical limit.
☆1,248Jul 29, 2023Updated 2 years ago
Alternatives and similar repositories for How_to_optimize_in_GPU
Users that are interested in How_to_optimize_in_GPU are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- A simple high performance CUDA GEMM implementation.☆428Jan 4, 2024Updated 2 years ago
- how to optimize some algorithm in cuda.☆2,872Mar 17, 2026Updated last week
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆407Jan 2, 2025Updated last year
- Yinghan's Code Sample☆364Jul 25, 2022Updated 3 years ago
- 📚LeetCUDA: Modern CUDA Learn Notes with PyTorch for Beginners🐑, 200+ CUDA Kernels, Tensor Cores, HGEMM, FA-2 MMA.🎉☆9,932Updated this week
- row-major matmul optimization☆712Feb 24, 2026Updated last month
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆531Sep 8, 2024Updated last year
- A Easy-to-understand TensorOp Matmul Tutorial☆409Mar 5, 2026Updated 2 weeks ago
- Xiao's CUDA Optimization Guide [NO LONGER ADDING NEW CONTENT]☆323Nov 8, 2022Updated 3 years ago
- Examples of CUDA implementations by Cutlass CuTe☆270Jul 1, 2025Updated 8 months ago
- ☆2,714Jan 16, 2024Updated 2 years ago
- compiler learning resources collect.☆2,693Mar 19, 2025Updated last year
- flash attention tutorial written in python, triton, cuda, cutlass☆491Jan 20, 2026Updated 2 months ago
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆9,484Mar 18, 2026Updated last week
- Step-by-step optimization of CUDA SGEMM☆448Mar 30, 2022Updated 3 years ago
- ☆2,001Jul 29, 2023Updated 2 years ago
- ☆158Dec 26, 2024Updated last year
- Material for gpu-mode lectures☆5,865Feb 1, 2026Updated last month
- FlashInfer: Kernel Library for LLM Serving☆5,194Updated this week
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,098Dec 30, 2024Updated last year
- ☆120Apr 11, 2024Updated last year
- 📚A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆5,062Updated this week
- ☆150Mar 18, 2024Updated 2 years ago
- CUDA 算子手撕与面试指南☆891Aug 23, 2025Updated 7 months ago
- An unofficial cuda assembler, for all generations of SASS, hopefully :)☆573Apr 20, 2023Updated 2 years ago
- ☆119May 16, 2025Updated 10 months ago
- ☆169Feb 5, 2026Updated last month
- A CUDA tutorial to make people learn CUDA program from 0☆273Jul 9, 2024Updated last year
- learning how CUDA works☆379Mar 3, 2025Updated last year
- BitBLAS is a library to support mixed-precision matrix multiplications, especially for quantized LLM deployment.☆752Aug 6, 2025Updated 7 months ago
- ☆151Jan 9, 2025Updated last year
- Implement Flash Attention using Cute.☆102Dec 17, 2024Updated last year
- A list of awesome compiler projects and papers for tensor computation and deep learning.☆2,733Oct 19, 2024Updated last year
- Distributed Compiler based on Triton for Parallel Systems☆1,394Mar 11, 2026Updated last week
- Tile primitives for speedy kernels☆3,244Mar 17, 2026Updated last week
- 使用 cutlass 实现 flash-attention 精简版,具有教学意义☆59Aug 12, 2024Updated last year
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels☆5,403Updated this week
- MegCC是一个运行时超轻量,高效,移植简单的深度学习模型编译器☆484Oct 23, 2024Updated last year
- 校招、秋招、春招、实习好项目!带你从零实现一个高性能的深度学习推理库,支持大模型 llama2 、Unet、Yolov5、Resnet等模型的推理。Implement a high-performance deep learning inference library st…☆3,370Jun 22, 2025Updated 9 months ago