xlite-dev/leetcuda

Modern CUDA Learn Notes with PyTorch for Beginners, 200+ CUDA Kernels, Tensor Cores, HGEMM, FA-2 MMA.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 37 minutes ago
Added to GitGenius on September 5th, 2026
Created on December 17th, 2022
Open Issues & Pull Requests: 4 (+0)
GitHub issues: Enabled
Number of forks: 1,254
Total Stargazers: 11,913 (+0)
Total Subscribers: 56 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.2 hours
Mean response time: 8.1 days
90th percentile: 25.2 days
Tracked items: 67

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 12% of issues opened in the past year have been closed. Three people close 71% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 3
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 48 days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • stale (35)
  • bug (1)
  • contribute (1)
  • documentation (1)
  • good first issue (1)

Most active issues this week

No issue events were indexed in the last 7 days.

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.