# gau-nernst/learn-cuda SLOC report

> gau-nernst/learn-cuda: 12,348 code lines at commit afcb20b1bd89, counted with tokei-15.0.0 on 2026-11-23. Saved result 5a618da95593f7027baae526c7be0eb13776c11a9f64dcd980690a55f864bb60.

Source: [gau-nernst/learn-cuda on GitHub](https://github.com/gau-nernst/learn-cuda) · counted commit [afcb20b1bd89](https://github.com/gau-nernst/learn-cuda/tree/afcb20b1bd89065c31a1575c276aba686fc4dfce)

gau-nernst/learn-cuda has 12,348 source lines of code out of 17,500 total lines across 107 files, counted with tokei from the main ref at commit afcb20b1bd89 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving gau-nernst/learn-cuda to commit afcb20b1bd89, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

gau-nernst/learn-cuda: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 70.6% of all lines, comments represent 12.5%, and the repository averages 115 code lines per file. CUDA accounts for 54.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| CUDA | 40 | 9,240 | 6,692 | 1,042 | 1,506 |
| Python | 33 | 5,657 | 4,168 | 403 | 1,086 |
| C Header | 10 | 1,244 | 1,049 | 48 | 147 |
| C++ | 10 | 507 | 434 | 7 | 66 |
| TOML | 1 | 6 | 5 | 0 | 1 |
| Markdown | 13 | 846 | 0 | 694 | 152 |

Top language: CUDA 54.2%. Generated on November 23, 2026. Canonical report: https://octocounts.com/github/gau-nernst/learn-cuda/commit/afcb20b1bd89065c31a1575c276aba686fc4dfce?reportId=5a618da95593f7027baae526c7be0eb13776c11a9f64dcd980690a55f864bb60&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gau-nernst/learn-cuda/commit/afcb20b1bd89065c31a1575c276aba686fc4dfce?reportId=5a618da95593f7027baae526c7be0eb13776c11a9f64dcd980690a55f864bb60&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does gau-nernst/learn-cuda have?

gau-nernst/learn-cuda has 12,348 lines of code, plus 2,194 comment lines and 2,958 blank lines, for 17,500 total lines at commit afcb20b1bd89 on November 23, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the gau-nernst/learn-cuda line count measured?

OctoCounts resolved the public GitHub repository to commit afcb20b1bd89, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for gau-nernst/learn-cuda?

This OctoCounts report was generated from main at commit afcb20b1bd89 on November 23, 2026.

## Similar repository reports

- [matyas-brabec/2025-icooolps-cellato](https://octocounts.com/github/matyas-brabec/2025-icooolps-cellato) — CUDA, 10,368 code lines
- [harry7557558/spirula-studio](https://octocounts.com/github/harry7557558/spirula-studio) — CUDA, 693,531 code lines
- [flashinfer-ai/flashinfer](https://octocounts.com/github/flashinfer-ai/flashinfer) — CUDA, 10,925,036 code lines
- [feralxr/tinymem](https://octocounts.com/github/feralxr/tinymem) — JSON, 12,347 code lines
- [eclipse-tinydtls/tinydtls](https://octocounts.com/github/eclipse-tinydtls/tinydtls) — C, 12,350 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
