{"adoption": {"forks": 464, "observed_at": "2026-08-28T04:05:43.176024+00:00", "stars": 1842}, "canonical_url": "https://ross.abutalabs.com/products/cub", "card": {"archived": true, "artifact_type": "library", "description": "[ARCHIVED] Cooperative primitives for CUDA C++. See https://github.com/NVIDIA/cccl ", "domain": ["gpu-computing", "developer-tools"], "enriched": true, "function": ["concurrency", "developer-tools"], "health_score": 10, "homepage": null, "language": "Cuda", "license": "BSD-3-Clause", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["NVIDIA/cub"], "name": "NVIDIA/cub", "platform": ["cpp"], "pushed_at": "2023-10-09T17:44:21+00:00", "repo": "NVIDIA/cub", "stars": 1842, "tags": ["cuda", "gpu-computing", "parallel-algorithms", "header-only", "archived", "nvidia", "algorithms", "gpu"], "topics": ["cuda", "nvidia-hpc-sdk", "cub", "gpu", "cpp", "cpp11", "cpp14", "cpp17", "cpp20", "cxx", "cxx11", "cxx14", "cxx17", "cxx20", "algorithms", "nvidia"], "urls": [], "use_cases": ["sort large arrays on the GPU with CUDA", "compute parallel prefix scans in CUDA kernels", "block-wide and warp-wide collective reductions", "build GPU histograms efficiently", "reuse high-performance CUDA algorithm primitives in custom kernels"], "what_it_is": "CUB is a header-only C++ library providing reusable cooperative primitives (sort, scan, reduction, histogram) for device-wide, block-wide, and warp-wide layers of the CUDA programming model. It is now archived and maintained as part of NVIDIA's unified CCCL repository.", "when_to_avoid": ["you are starting a new project - use the successor nvidia/cccl (CUDA C++ Core Libraries) instead", "you need CPU-only parallel algorithms", "you need a runtime library rather than header-only templates"], "when_to_choose": ["you need battle-tested parallel primitives for CUDA C++ kernels", "you want device-, block-, or warp-level algorithms without writing them yourself", "you are already using the CUDA Toolkit or NVIDIA HPC SDK where CUB is bundled"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cub", "repo": "NVIDIA/cub", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:43.176024+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:17:58.757678+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "148caebc08a5d6acf7bdcc7189a8dfebbe5e12db8b0a021f876f75c73f61fdcd", "fetched_at": "2026-08-28T04:05:43.176024+00:00", "kind": "readme", "missing": false, "url": "https://github.com/NVIDIA/cub"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4947, "days_push": 1059, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}