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,290Jul 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.☆434Jan 4, 2024Updated 2 years ago
- how to optimize some algorithm in cuda.☆2,952Apr 22, 2026Updated last week
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆415Jan 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.🎉☆10,825Apr 20, 2026Updated 2 weeks ago
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- row-major matmul optimization☆723Feb 24, 2026Updated 2 months ago
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆543Sep 8, 2024Updated last year
- A Easy-to-understand TensorOp Matmul Tutorial☆428Mar 5, 2026Updated 2 months ago
- Xiao's CUDA Optimization Guide [NO LONGER ADDING NEW CONTENT]☆325Nov 8, 2022Updated 3 years ago
- Examples of CUDA implementations by Cutlass CuTe☆272Jul 1, 2025Updated 10 months ago
- ☆2,739Jan 16, 2024Updated 2 years ago
- compiler learning resources collect.☆2,722Mar 19, 2025Updated last year
- Step-by-step optimization of CUDA SGEMM☆460Mar 30, 2022Updated 4 years ago
- flash attention tutorial written in python, triton, cuda, cutlass☆506Jan 20, 2026Updated 3 months ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆9,663Apr 25, 2026Updated last week
- ☆2,012Jul 29, 2023Updated 2 years ago
- ☆159Dec 26, 2024Updated last year
- Material for gpu-mode lectures☆6,040Apr 22, 2026Updated last week
- FlashInfer: Kernel Library for LLM Serving☆5,544Updated this week
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,128Dec 30, 2024Updated last year
- ☆120Apr 11, 2024Updated 2 years ago
- 📚A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆5,185Apr 20, 2026Updated 2 weeks ago
- ☆152Mar 18, 2024Updated 2 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- CUDA 算子手撕与面试指南☆956Aug 23, 2025Updated 8 months ago
- An unofficial cuda assembler, for all generations of SASS, hopefully :)☆582Apr 20, 2023Updated 3 years ago
- ☆120May 16, 2025Updated 11 months ago
- ☆174Feb 5, 2026Updated 3 months ago
- A CUDA tutorial to make people learn CUDA program from 0☆279Jul 9, 2024Updated last year
- learning how CUDA works☆386Mar 3, 2025Updated last year
- Implement Flash Attention using Cute.☆106Dec 17, 2024Updated last year
- BitBLAS is a library to support mixed-precision matrix multiplications, especially for quantized LLM deployment.☆762Aug 6, 2025Updated 8 months ago
- ☆150Jan 9, 2025Updated last year
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- A list of awesome compiler projects and papers for tensor computation and deep learning.☆2,741Oct 19, 2024Updated last year
- ☆265Jul 11, 2024Updated last year
- 使用 cutlass 实现 flash-attention 精简版,具有教学意义☆59Aug 12, 2024Updated last year
- Distributed Compiler based on Triton for Parallel Systems☆1,420Apr 22, 2026Updated last week
- Tile primitives for speedy kernels☆3,336Updated this week
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels☆5,928Updated this week
- 校招、秋招、春招、实习好项目!带你从零实现一个高性能的深度学习推理库,支持大模型 llama2 、Unet、Yolov5、Resnet等模型的推理。Implement a high-performance deep learning inference library st…☆3,415Jun 22, 2025Updated 10 months ago