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,361Jul 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:
- how to optimize some algorithm in cuda.☆3,288Sep 14, 2026Updated last week
- A simple high performance CUDA GEMM implementation.☆440Jan 4, 2024Updated 2 years ago
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆426Jan 2, 2025Updated last year
- Yinghan's Code Sample☆368Jul 25, 2022Updated 4 years ago
- row-major matmul optimization☆755May 14, 2026Updated 4 months ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆569Sep 8, 2024Updated 2 years ago
- A Easy-to-understand TensorOp Matmul Tutorial☆453Mar 5, 2026Updated 6 months ago
- Open-source book with Modern CUDA Learn Notes for Beginners, includes FP16/BF16, FP8, HGEMM, FlashAttention, CuTe, etc.☆11,992Updated this week
- Examples of CUDA implementations by Cutlass CuTe☆282Jul 1, 2025Updated last year
- Xiao's CUDA Optimization Guide [NO LONGER ADDING NEW CONTENT]☆333Nov 8, 2022Updated 3 years ago
- ☆2,802Jan 16, 2024Updated 2 years ago
- compiler learning resources collect.☆2,778May 20, 2026Updated 4 months ago
- CUDA Templates and Python DSLs for High-Performance Linear Algebra☆10,466Updated this week
- flash attention tutorial written in python, triton, cuda, cutlass☆535Jan 20, 2026Updated 8 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Step-by-step optimization of CUDA SGEMM☆506Mar 30, 2022Updated 4 years ago
- ☆2,041Jul 29, 2023Updated 3 years ago
- ☆160Dec 26, 2024Updated last year
- Material for gpu-mode lectures☆6,639Sep 9, 2026Updated 2 weeks ago
- ☆192May 11, 2026Updated 4 months ago
- FlashInfer: Kernel Library for LLM Serving☆6,482Updated this week
- Flash Attention in ~100 lines of CUDA (forward pass only)☆1,187Dec 30, 2024Updated last year
- ☆123Apr 11, 2024Updated 2 years ago
- ☆123May 16, 2025Updated last year
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- 📚A curated list of Awesome LLM/VLM Inference Papers with Codes: Flash-Attention, Paged-Attention, WINT8/4, Parallelism, etc.🎉☆5,507Aug 14, 2026Updated last month
- ☆158Mar 18, 2024Updated 2 years ago
- Distributed Compiler and Optimized Parallel Kernels☆1,549Updated this week
- An unofficial cuda assembler, for all generations of SASS, hopefully :)☆629Apr 20, 2023Updated 3 years ago
- A CUDA tutorial to make people learn CUDA program from 0☆284Jul 9, 2024Updated 2 years ago
- learning how CUDA works☆407Mar 3, 2025Updated last year
- CUDA 算子手撕与面试指南☆1,123Aug 23, 2025Updated last year
- A fast communication-overlapping library for tensor/expert parallelism on GPUs.☆1,363Aug 28, 2025Updated last year
- ☆151Jan 9, 2025Updated last year
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- BitBLAS is a library to support mixed-precision matrix multiplications, especially for quantized LLM deployment.☆770Aug 6, 2025Updated last year
- A list of awesome compiler projects and papers for tensor computation and deep learning.☆2,785Oct 19, 2024Updated last year
- ☆272Jul 11, 2024Updated 2 years ago
- MegCC是一个运行时超轻量,高效,移植简单的深度学习模型编译器☆483Oct 23, 2024Updated last year
- 校招、秋招、春招、实习好项目!带你从零实现一个高性能的深度学习推理库,支持大模型 llama2 、Unet、Yolov5、Resnet等模型的推理。Implement a high-performance deep learning inference library st…☆3,500Jun 22, 2025Updated last year
- 使用 cutlass 仓库在 ada 架构上实现 fp8 的 flash attention☆83Aug 12, 2024Updated 2 years ago
- Implement Flash Attention using Cute.☆111Dec 17, 2024Updated last year