项目
在 GitHub 查看
Maharshi-Pandya/cudacodes
关于
与 CUDA 相关的学习资料和程序
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文CUDA Code Explorations
This repository showcases my journey learning and experimenting with CUDA, primarily using C/C++. Inside, you'll find code examples, insights, and optimizations related to various CUDA concepts. Each directory focuses on a specific topic, with extensively commented code to guide understanding.
What's Inside?
This repo contains:
- Practical Examples: Hands-on CUDA code for common operations.
- Optimizations: Explores different optimization techniques to improve performance.
- Well-Commented Code: Every line is explained, making it easy to follow along.
- Learning Resource: A place to learn from and improve your own CUDA skills.
Quick Navigation
softmax/: Explores various softmax implementations, from naive to optimized.matmul/: Demonstrates matrix multiplication with tiling strategies.matvec/: Iteratively optimizes matrix-vector multiplication (SGEMV) to achieve cuBLAS-like performance.query-device/: A simple tool to get device information of GPU.flash-attention/: Exploration of flash attention algorithms (Work in progress).
Getting Started
- Clone the repository:
git clone https://github.com/Maharshi-Pandya/cudacodes.git
- Navigate to the directory of interest (e.g.,
cd matmul) - Check the
README.mdinside the directory to learn how to compile and run the examples.
探索相关项目
加载中…