Liu-xiandong / How_to_optimize_in_GPU
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.
☆827Updated last year
Related projects ⓘ
Alternatives and complementary repositories for How_to_optimize_in_GPU
- row-major matmul optimization☆591Updated last year
- A simple high performance CUDA GEMM implementation.☆335Updated 10 months ago
- Xiao's CUDA Optimization Guide [Active Adding New Contents]☆236Updated 2 years ago
- Optimizing SGEMM kernel functions on NVIDIA GPUs to a close-to-cuBLAS performance.☆280Updated 2 years ago
- Yinghan's Code Sample☆289Updated 2 years ago
- how to optimize some algorithm in cuda.☆1,593Updated last week
- Several optimization methods of half-precision general matrix multiplication (HGEMM) using tensor core with WMMA API and MMA PTX instruct…☆302Updated 2 months ago
- Step-by-step optimization of CUDA SGEMM☆240Updated 2 years ago
- A self-learning tutorail for CUDA High Performance Programing.☆257Updated last week
- A CUDA tutorial to make people learn CUDA program from 0☆194Updated 4 months ago
- how to learn PyTorch and OneFlow☆348Updated 7 months ago
- 📚Modern CUDA Learn Notes with PyTorch: Tensor/CUDA Cores, 📖150+ CUDA Kernels with PyTorch bindings, 📖HGEMM/SGEMM (95%~99% cuBLAS perfo…☆1,473Updated this week
- A Easy-to-understand TensorOp Matmul Tutorial☆290Updated 2 months ago
- learning how CUDA works☆169Updated 3 months ago
- ☆393Updated 9 years ago
- 高性能计算相关知识学习笔记,包含学习笔记和相关知识的代码demo,在持续完善中。 如果有帮助的话请Star一下,对作者帮助很大,谢谢!☆380Updated last year
- A model compilation solution for various hardware☆378Updated last week
- An unofficial cuda assembler, for all generations of SASS, hopefully :)☆405Updated last year
- A CPU tool for benchmarking the peak of floating points☆503Updated last month
- BLISlab: A Sandbox for Optimizing GEMM☆483Updated 3 years ago
- flash attention tutorial written in python, triton, cuda, cutlass☆202Updated 5 months ago
- CUDA C 编程权威指南代码实现 包含了书上第二章到第八章的大部分代码实现和作者笔记,全由作者本人手动实现,难免有错误的地方,请大家谨慎参考,非常欢迎对错误的指正。 如果有帮助的话请Star一下,对作者帮助很大,谢谢!☆284Updated 2 years ago
- Fast CUDA matrix multiplication from scratch☆479Updated 10 months ago
- A tutorial for CUDA&PyTorch☆118Updated 3 weeks ago
- Sample codes for my CUDA programming book☆1,572Updated last year
- ☆110Updated 2 years ago
- CUDA by Example, written by two senior members of the CUDA software platform team, shows programmers how to employ this new technology. …☆364Updated last year
- Hands-On Practical MLIR Tutorial☆336Updated last year
- FlagGems is an operator library for large language models implemented in Triton Language.☆342Updated this week
- ☆103Updated 7 months ago