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,370Jul 29, 2023Updated 3 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.☆441Jan 4, 2024Updated 2 years ago
- how to optimize some algorithm in cuda.☆3,339Oct 11, 2026Updated 3 weeks ago
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆429Jan 2, 2025Updated last year
- Yinghan's Code Sample☆369Jul 25, 2022Updated 4 years ago
- An Open-source book with Modern CUDA learning Notes for Beginners - BF16/FP8/FP4, HGEMM, CuTe, Flash-Attention, etc.☆12,145Updated this week
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- row-major matmul optimization☆761May 14, 2026Updated 5 months ago
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆577Sep 8, 2024Updated 2 years ago
- A Easy-to-understand TensorOp Matmul Tutorial☆459Mar 5, 2026Updated 7 months ago
- flash attention tutorial written in python, triton, cuda, cutlass☆538Oct 22, 2026Updated last week
- Examples of CUDA implementations by Cutlass CuTe☆283Jul 1, 2025Updated last year
- ☆2,813Jan 16, 2024Updated 2 years ago
- compiler learning resources collect.☆2,789May 20, 2026Updated 5 months ago
- Xiao's CUDA Optimization Guide [NO LONGER ADDING NEW CONTENT]☆332Nov 8, 2022Updated 3 years ago
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆10,684Updated this week
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Step-by-step optimization of CUDA SGEMM☆523Mar 30, 2022Updated 4 years ago
- ☆2,047Jul 29, 2023Updated 3 years ago
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,203Dec 30, 2024Updated last year
- Material for gpu-mode lectures☆6,942Sep 9, 2026Updated last month
- ☆160Dec 26, 2024Updated last year
- FlashInfer: Kernel Library for LLM Serving☆6,828Updated this week
- ☆194May 11, 2026Updated 5 months ago
- ☆123Apr 11, 2024Updated 2 years ago
- learning how CUDA works☆410Mar 3, 2025Updated last year
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- ☆158Mar 18, 2024Updated 2 years ago
- CUDA 算子手撕与面试指南☆1,143Aug 23, 2025Updated last year
- An unofficial cuda assembler, for all generations of SASS, hopefully :)☆635Apr 20, 2023Updated 3 years ago
- 📚A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆5,542Oct 20, 2026Updated last week
- High Performance LLM Inference Operator Library☆1,188Sep 7, 2026Updated last month
- Distributed Compiler and Optimized Parallel Kernels☆1,577Sep 18, 2026Updated last month
- A fast communication-overlapping library for tensor/expert parallelism on GPUs.☆1,375Aug 28, 2025Updated last year
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆83Aug 12, 2024Updated 2 years ago
- ☆123May 16, 2025Updated last year
- 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.
- ☆271Jul 11, 2024Updated 2 years ago
- how to learn PyTorch and OneFlow☆503Aug 13, 2026Updated 2 months ago
- 校招、秋招、春招、实习好项目!带你从零实现一个高性能的深度学习推理库,支持大模型 llama2 、Unet、Yolov5、Resnet等模型的推理。Implement a high-performance deep learning inference library st…☆3,518Jun 22, 2025Updated last year
- ☆151Jan 9, 2025Updated last year
- Sample codes for my CUDA programming book☆2,104Dec 14, 2025Updated 10 months ago
- A list of awesome compiler projects and papers for tensor computation and deep learning.☆2,795Oct 19, 2024Updated 2 years ago
- BitBLAS is a library to support mixed-precision matrix multiplications, especially for quantized LLM deployment.☆772Aug 6, 2025Updated last year