xlite-dev/LeetCUDA

An Open-source book with Modern CUDA learning Notes for Beginners - BF16/FP8/FP4, HGEMM, CuTe, Flash-Attention, etc.

View on GitHub ↗Jump to charts ↓Open shareable report →

xlite-dev/LeetCUDA has 12k+ stars and 1k+ forks on GitHub, is written in Cuda, and was last pushed on Oct 17, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Type:Curated List / Learning ResourceCategory(s):GPU, Accelerators & HPCML Frameworks & LibrariesSystems, Hardware & HPC
Added to GitGenius on September 5th, 2026
Created on December 17th, 2022
Open Issues & Pull Requests: 4 (+0)
GitHub issues: Disabled - open counts may still include pull requests.
Number of forks: 1,277
Total Stargazers: 12,086 (+0)
Total Subscribers: 56 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 6.5 hours
Mean response time: 8.0 days
90th percentile: 25.2 days
Tracked items: 68

Maintainer activity

2 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

GitHub issues are disabled for this repository, so issue analytics and the issue explorer are not available.

Detailed Description

LeetCUDA is a CUDA learning resource that teaches GPU programming fundamentals through practical kernel implementations and PyTorch integration.

The project addresses the challenge of learning CUDA by providing a hands-on collection of over two hundred kernel implementations covering core GPU concepts. It progresses from foundational CUDA programming patterns to advanced topics including tensor core operations, half-precision general matrix multiplication (HGEMM), and Flash Attention 2 matrix multiply accumulate (MMA) operations. The approach combines educational notes with runnable code examples that demonstrate how these kernels work in practice, bridging the gap between CUDA theory and real-world GPU computation patterns used in modern deep learning frameworks.

Developers new to GPU programming will find this resource most valuable, particularly those wanting to understand how PyTorch operations map to underlying CUDA implementations. The collection of kernel examples serves as both a reference and a learning tool for anyone building GPU-accelerated applications or seeking to optimize existing code. The focus on modern CUDA versions and contemporary techniques like Flash Attention makes it relevant for developers working with current deep learning infrastructure rather than legacy GPU code.

The project maintains active development with regular additions to its kernel collection and documentation. Commits show consistent expansion of the codebase with new kernel implementations and refinements to existing examples. The repository demonstrates ongoing engagement with the learning material through iterative improvements and supplementary notes that clarify complex GPU programming concepts.