moderngpu/moderngpu
Patterns and behaviors for GPU computing observed · 2026-08-28
Health v2 · maintenance only
51/100
- Activity 62
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4854
- days_rel: n/a
- days_push: 228
- n_releases_24m: 0
Adoption not part of the score
1789 stars · 283 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
moderngpu is a header-only C++ productivity library for general-purpose GPU computing built on CUDA. It provides accelerated primitives for irregularly parallel problems such as segmented reductions, scans, and load-balanced searches.
Use cases
- run parallel algorithms on CUDA GPUs
- perform segmented reductions and scans on GPU
- load-balance irregular workloads across GPU threads
- accelerate sparse or variable-length data processing on GPU
- learn GPU computing patterns in C++
When to choose
- you need high-performance CUDA primitives for irregular parallelism
- you want a header-only C++ GPU library with minimal setup
- you are writing CUDA applications needing scans, sorts, or segmented operations
When to avoid
- you need GPU support for non-CUDA platforms like ROCm or Metal
- you want a general CPU parallel library
- you need extensive documentation and tutorials - the wiki is incomplete
Facets
library · maturity active
gpu-computing concurrency math gpu-computing performance cpp windows cuda header-only parallel-computing irregular-parallelism segmented-reduction algorithms gpu linux macos
2 sources
- readme: https://github.com/moderngpu/moderngpu · fetched 2026-08-28 · 9913e6de1fa1
- homepage: http://moderngpu.github.io/moderngpu · fetched 2026-08-29 · 50b61a51afdd
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| moderngpu/moderngpu | main | 51 |
For agents
markdown · JSON · MCP: product_card(name="moderngpu/moderngpu")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem