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,271Jul 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.☆430Jan 4, 2024Updated 2 years ago
- how to optimize some algorithm in cuda.☆2,910Apr 1, 2026Updated last week
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆411Jan 2, 2025Updated last year
- Yinghan's Code Sample☆366Jul 25, 2022Updated 3 years ago
- 📚LeetCUDA: Modern CUDA Learn Notes with PyTorch for Beginners🐑, 200+ CUDA Kernels, Tensor Cores, HGEMM, FA-2 MMA.🎉☆10,217Updated this week
- Wordpress hosting with auto-scaling - Free Trial • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- row-major matmul optimization☆714Feb 24, 2026Updated last month
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆536Sep 8, 2024Updated last year
- A Easy-to-understand TensorOp Matmul Tutorial☆422Mar 5, 2026Updated last month
- Xiao's CUDA Optimization Guide [NO LONGER ADDING NEW CONTENT]☆324Nov 8, 2022Updated 3 years ago
- Examples of CUDA implementations by Cutlass CuTe☆271Jul 1, 2025Updated 9 months ago
- ☆2,724Jan 16, 2024Updated 2 years ago
- compiler learning resources collect.☆2,707Mar 19, 2025Updated last year
- flash attention tutorial written in python, triton, cuda, cutlass☆502Jan 20, 2026Updated 2 months ago
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆9,564Updated this week
- Wordpress hosting with auto-scaling - Free Trial • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Step-by-step optimization of CUDA SGEMM☆455Mar 30, 2022Updated 4 years ago
- ☆2,006Jul 29, 2023Updated 2 years ago
- ☆159Dec 26, 2024Updated last year
- Material for gpu-mode lectures☆5,945Feb 1, 2026Updated 2 months ago
- FlashInfer: Kernel Library for LLM Serving☆5,372Updated this week
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,118Dec 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,130Updated this week
- ☆152Mar 18, 2024Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- An unofficial cuda assembler, for all generations of SASS, hopefully :)☆578Apr 20, 2023Updated 2 years ago
- CUDA 算子手撕与面试指南☆927Aug 23, 2025Updated 7 months ago
- ☆119May 16, 2025Updated 10 months ago
- ☆171Feb 5, 2026Updated 2 months ago
- A CUDA tutorial to make people learn CUDA program from 0☆276Jul 9, 2024Updated last year
- learning how CUDA works☆384Mar 3, 2025Updated last year
- Implement Flash Attention using Cute.☆105Dec 17, 2024Updated last year
- BitBLAS is a library to support mixed-precision matrix multiplications, especially for quantized LLM deployment.☆758Aug 6, 2025Updated 8 months ago
- ☆150Jan 9, 2025Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- A list of awesome compiler projects and papers for tensor computation and deep learning.☆2,734Oct 19, 2024Updated last year
- Distributed Compiler based on Triton for Parallel Systems☆1,403Updated this week
- Domain-specific language designed to streamline the development of high-performance GPU/CPU/Accelerators kernels☆5,478Updated this week
- 使用 cutlass 实现 flash-attention 精简版,具有教学意义☆59Aug 12, 2024Updated last year
- Tile primitives for speedy kernels☆3,312Apr 8, 2026Updated last week
- MegCC是一个运行时超轻量,高效,移植简单的深度学习模型编译器☆484Oct 23, 2024Updated last year
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆82Aug 12, 2024Updated last year