# GPUOpen-LibrariesAndSDKs/HIPRT SLOC report

> GPUOpen-LibrariesAndSDKs/HIPRT: 370,540 code lines at commit 2fad3324d0e0, counted with tokei-15.0.0 on 2026-11-24. Saved result fefee772be24ede7ceb71a510b7377f97f76bfaccc9d25ccdfd8c79b311b3b67.

Source: [GPUOpen-LibrariesAndSDKs/HIPRT on GitHub](https://github.com/GPUOpen-LibrariesAndSDKs/HIPRT) · counted commit [2fad3324d0e0](https://github.com/GPUOpen-LibrariesAndSDKs/HIPRT/tree/2fad3324d0e0ffe31f48293dcb9dfb1a1b9a5167)

GPUOpen-LibrariesAndSDKs/HIPRT has 370,540 source lines of code out of 479,183 total lines across 533 files, counted with tokei from the main ref at commit 2fad3324d0e0 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving GPUOpen-LibrariesAndSDKs/HIPRT to commit 2fad3324d0e0, 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

GPUOpen-LibrariesAndSDKs/HIPRT: 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 large codebase by counted code lines. Code represents 77.3% of all lines, comments represent 11.2%, and the repository averages 695 code lines per file. C++ Header accounts for 49.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 9 | 208,212 | 181,838 | 3,292 | 23,082 |
| C Header | 248 | 138,999 | 96,352 | 27,288 | 15,359 |
| C | 89 | 80,995 | 57,636 | 13,153 | 10,206 |
| C++ | 49 | 36,409 | 26,183 | 6,276 | 3,950 |
| Visual Studio Project | 5 | 2,207 | 2,207 | 0 | 0 |
| Makefile | 17 | 2,548 | 1,737 | 318 | 493 |
| Python | 12 | 2,063 | 1,555 | 167 | 341 |
| Autoconf | 3 | 1,057 | 866 | 85 | 106 |
| Lua | 14 | 887 | 686 | 57 | 144 |
| CMake | 3 | 906 | 543 | 129 | 234 |
| GNU Style Assembly | 1 | 602 | 390 | 122 | 90 |
| Shell | 22 | 508 | 255 | 177 | 76 |
| Batch | 16 | 134 | 115 | 0 | 19 |
| Visual Studio Solution | 2 | 80 | 80 | 0 | 0 |
| YAML | 1 | 28 | 28 | 0 | 0 |
| Swift | 1 | 36 | 27 | 7 | 2 |
| HLSL | 1 | 51 | 16 | 27 | 8 |
| GLSL | 1 | 13 | 10 | 0 | 3 |
| Dockerfile | 1 | 20 | 9 | 6 | 5 |
| ReScript | 2 | 4 | 4 | 0 | 0 |
| AsciiDoc | 1 | 3 | 3 | 0 | 0 |
| Markdown | 32 | 3,366 | 0 | 2,651 | 715 |
| Plain Text | 3 | 55 | 0 | 45 | 10 |

Top language: C++ Header 49.1%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/GPUOpen-LibrariesAndSDKs/HIPRT/commit/2fad3324d0e0ffe31f48293dcb9dfb1a1b9a5167?reportId=fefee772be24ede7ceb71a510b7377f97f76bfaccc9d25ccdfd8c79b311b3b67&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/GPUOpen-LibrariesAndSDKs/HIPRT/commit/2fad3324d0e0ffe31f48293dcb9dfb1a1b9a5167?reportId=fefee772be24ede7ceb71a510b7377f97f76bfaccc9d25ccdfd8c79b311b3b67&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 GPUOpen-LibrariesAndSDKs/HIPRT have?

GPUOpen-LibrariesAndSDKs/HIPRT has 370,540 lines of code, plus 53,800 comment lines and 54,843 blank lines, for 479,183 total lines at commit 2fad3324d0e0 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the GPUOpen-LibrariesAndSDKs/HIPRT line count measured?

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

### What commit was counted for GPUOpen-LibrariesAndSDKs/HIPRT?

This OctoCounts report was generated from main at commit 2fad3324d0e0 on November 24, 2026.

## Similar repository reports

- [kokkos/kokkos](https://octocounts.com/github/kokkos/kokkos) — C++ Header, 247,408 code lines
- [gexgd0419/NaturalVoiceSAPIAdapter](https://octocounts.com/github/gexgd0419/NaturalVoiceSAPIAdapter) — C++ Header, 230,200 code lines
- [love2d/love](https://octocounts.com/github/love2d/love) — C++ Header, 685,087 code lines
- [stack-of-tasks/pinocchio](https://octocounts.com/github/stack-of-tasks/pinocchio) — C++ Header, 198,466 code lines
- [lightvector/KataGo](https://octocounts.com/github/lightvector/KataGo) — C++ Header, 702,153 code lines
- [harfbuzz/harfbuzz](https://octocounts.com/github/harfbuzz/harfbuzz) — C++ Header, 192,251 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)
