Cro22 / mojo-cuda-ampere
Hand-written CUDA vs Mojo GPU kernels benchmarked on consumer Ampere (RTX 3090, sm_86), with roofline analysis
Over time
2026-08-25 to 2026-09-01; peak 733 lines
2026-08-25 to 2026-09-01; 20 commits, counted up by commit date
- Opened 1
- Closed or merged 0
2026-08-25 to 2026-08-25; 1 issues and pull requests opened (1 issues, 0 pull requests), from GitHub by mojo_issues
Dependencies
Declared in its manifests at HEAD (toolchain left out): matplotlib.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| grimo-ir/rune | Thin GPU execution layer for Mojo — one import, zero inference stack | 84% |
| abhisheksreesaila/mojo-gpu-tutorials | Hands-on tutorials for GPU programming in Mojo 🔥 | Learn kernels, threads, blocks, memory layouts, and LayoutTensor with practical examples | Write once, run on NVIDIA, AMD, or Apple Silicon | 84% |
| mojolearn/mojolearn | GPU machine learning in Mojo that supports bitwise identical inference and training on Apple Metal, NVIDIA CUDA and AMD HIP. | 83% |
| ulmentflam/llm.mojo | GPT-2 training in pure Mojo with hand-written CUDA and Metal GPU kernels. llm.c parity in bf16 on NVIDIA, 1.72x faster than PyTorch MPS on Apple Silicon. | 83% |
| sdgunaa/mccl | mojo collective cuda library | 83% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
0 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
2 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
No published release in the GH Archive days loaded, and no git tag in the clone.
Issues and pull requests
1 open and 0 closed issues; 0 open, 0 merged and 0 closed pull requests, from GitHub by mojo_issues.
Open issues
| # | Title | Updated | Labels | Comments |
|---|---|---|---|---|
| 1 | Mojo regblock matmul underperforms at small M on Turing; investigate register pressure/occupancy | 2026-08-25 | – | 1 |
Migrations
| Date | What | From | To | Commit |
|---|---|---|---|---|
| 2026-08-25 | mojo_version | – | 1.0.0 | c59470fc14 |
| 2026-08-25 | tooling | none | uv | c59470fc14 |
Commits
Commit types: Feature 10% · Mojo version 5% · Refactor 15% · Performance 15% · Docs 35% · Build and chores 10% · Other 10%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2026-09-01 | e16c021151 | Performance +docs | bench: auto-detect ROCm/CUDA so the shootout runs on AMD too | 733 | uv | 1.0.0 |
| 2026-08-25 | 7337ab8fca | Docs | docs/readme: update instructions, add portability notes, and fix benchmarks formatting | 733 | uv | 1.0.0 |
| 2026-08-25 | 187aea8001 | Docs | results: locked re-measure (verified pinned clocks) + Mojo softmax naive | 733 | uv | 1.0.0 |
| 2026-08-25 | 4ead6a34fb | Feature +docs | mojo: add softmax naive variant for a symmetric naive-vs-online table | 733 | uv | 1.0.0 |
| 2026-08-25 | c5c2a473e2 | Docs | docs: cross-architecture verification, T4 throttling, cross-gen naive penalty | 644 | uv | 1.0.0 |
| 2026-08-25 | 31cc7da701 | Refactor | mojo: silence softmax dead-store warnings on row_max/row_sum | 644 | uv | 1.0.0 |
| 2026-08-25 | 139bfbac72 | Docs | docs: portability note - what is device-derived, what is not | 642 | uv | 1.0.0 |
| 2026-08-25 | 2eb3c58caf | Refactor | mojo: make the matmul register tile a device-derived config | 642 | uv | 1.0.0 |
| 2026-08-25 | 6a37fd8d8b | Other | mojo: derive warp-level counts from WARP_SIZE, not a hardcoded 32 | 631 | uv | 1.0.0 |
| 2026-08-25 | 83c687777b | Build and chores | build: auto-detect CUDA arch instead of hardcoding sm_86 | 613 | uv | 1.0.0 |
| 2026-08-25 | 5103621230 | Docs | docs: give "locking GPU clocks under WSL" its own methodology section | 613 | uv | 1.0.0 |
| 2026-08-25 | d15526e89e | Docs | docs: fix cost-table token scale (1M -> 1B tokens) | 613 | uv | 1.0.0 |
| 2026-08-25 | 236b15958c | Refactor | style: replace C-style casts with static_cast in C++ sources | 613 | uv | 1.0.0 |
| 2026-08-25 | eb49abf2c5 | Docs | docs: honest reporting, FP32/INT32 roofline caveat, cost-per-token section | 613 | uv | 1.0.0 |
| 2026-08-25 | c64473ae36 | Other | results: re-measure under locked SM clocks; regenerate CSV and charts | 613 | uv | 1.0.0 |
| 2026-08-25 | 29420b736f | Performance | bench: add vendor references (CUB reduction, torch softmax) | 613 | uv | 1.0.0 |
| 2026-08-25 | ba1a9b8413 | Performance | bench: report a distribution (median-of-30 + IQR), not a single run | 613 | uv | 1.0.0 |
| 2026-08-25 | a0d5be6c31 | Feature | Add MIT license | 510 | uv | 1.0.0 |
| 2026-08-25 | ba78c7b8f4 | Build and chores | chore: fix .gitignore and stop tracking build artifacts | 510 | uv | 1.0.0 |
| 2026-08-25 | c59470fc14 | Mojo version +docs | Add initial CUDA and Mojo implementations for benchmark kernels (`reduction`, `softmax`, `matmul`). Includes shared benchmark utilities (`bench.cuh`), Makefile, and supporting documentation (`methodol | 510 | uv | 1.0.0 |