---
id: pr-cccl-cub-7341
repo: NVIDIA/cccl
pr: 7341
title: 'bench: Migrate Python cuda.compute benchmarks to nvbench'
author: danielfrg
date: '2026-03-24'
url: https://github.com/NVIDIA/cccl/pull/7341
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark kernel
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: d93715e818fa253ff4d34572c57be53cdce4d668
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- python/cuda_cccl/benchmarks/compute/.gitignore
- python/cuda_cccl/benchmarks/compute/AGENTS.md
- python/cuda_cccl/benchmarks/compute/README.md
- python/cuda_cccl/benchmarks/compute/bench_binary_search.py
- python/cuda_cccl/benchmarks/compute/bench_merge_sort.py
- python/cuda_cccl/benchmarks/compute/bench_reduce.py
- python/cuda_cccl/benchmarks/compute/bench_scan.py
- python/cuda_cccl/benchmarks/compute/bench_select.py
- python/cuda_cccl/benchmarks/compute/bench_three_way_partition.py
- python/cuda_cccl/benchmarks/compute/bench_transform.py
- python/cuda_cccl/benchmarks/compute/bench_zip_iterator.py
- python/cuda_cccl/benchmarks/compute/conftest.py
- python/cuda_cccl/benchmarks/compute/histogram/even.py
- python/cuda_cccl/benchmarks/compute/merge_sort/keys.py
- python/cuda_cccl/benchmarks/compute/merge_sort/pairs.py
- python/cuda_cccl/benchmarks/compute/partition/three_way.py
- python/cuda_cccl/benchmarks/compute/pixi.toml
- python/cuda_cccl/benchmarks/compute/pytest.ini
- python/cuda_cccl/benchmarks/compute/quick_configs.yaml
- python/cuda_cccl/benchmarks/compute/radix_sort/keys.py
- python/cuda_cccl/benchmarks/compute/radix_sort/pairs.py
- python/cuda_cccl/benchmarks/compute/reduce/custom.py
- python/cuda_cccl/benchmarks/compute/reduce/min.py
- python/cuda_cccl/benchmarks/compute/reduce/nondeterministic.py
- python/cuda_cccl/benchmarks/compute/reduce/sum.py
- python/cuda_cccl/benchmarks/compute/run_benchmarks.py
- python/cuda_cccl/benchmarks/compute/scan/exclusive/custom.py
- python/cuda_cccl/benchmarks/compute/scan/exclusive/sum.py
- python/cuda_cccl/benchmarks/compute/segmented_sort/keys.py
- python/cuda_cccl/benchmarks/compute/select/if.py
- python/cuda_cccl/benchmarks/compute/select/unique_by_key.py
- python/cuda_cccl/benchmarks/compute/transform/babelstream.py
- python/cuda_cccl/benchmarks/compute/transform/complex_cmp.py
- python/cuda_cccl/benchmarks/compute/transform/fib.py
- python/cuda_cccl/benchmarks/compute/transform/fill.py
- python/cuda_cccl/benchmarks/compute/transform/grayscale.py
- python/cuda_cccl/benchmarks/compute/transform/heavy.py
- python/cuda_cccl/benchmarks/compute/transform_reduce/sum.py
- python/cuda_cccl/benchmarks/compute/utils.py
artifact_dir: evidence/pull-bundles/cccl-cub/gh-7341
head_ref_oid: eca064b1f68136e1b45e8b971515863036d4b2ad
---
# bench: Migrate Python cuda.compute benchmarks to nvbench

- Repository: `NVIDIA/cccl`
- PR: [7341](https://github.com/NVIDIA/cccl/pull/7341)
- Decision: `Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.`
- Reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.

## Changed Paths

- `python/cuda_cccl/benchmarks/compute/.gitignore`
- `python/cuda_cccl/benchmarks/compute/AGENTS.md`
- `python/cuda_cccl/benchmarks/compute/README.md`
- `python/cuda_cccl/benchmarks/compute/bench_binary_search.py`
- `python/cuda_cccl/benchmarks/compute/bench_merge_sort.py`
- `python/cuda_cccl/benchmarks/compute/bench_reduce.py`
- `python/cuda_cccl/benchmarks/compute/bench_scan.py`
- `python/cuda_cccl/benchmarks/compute/bench_select.py`
- `python/cuda_cccl/benchmarks/compute/bench_three_way_partition.py`
- `python/cuda_cccl/benchmarks/compute/bench_transform.py`
- `python/cuda_cccl/benchmarks/compute/bench_zip_iterator.py`
- `python/cuda_cccl/benchmarks/compute/conftest.py`
- `python/cuda_cccl/benchmarks/compute/histogram/even.py`
- `python/cuda_cccl/benchmarks/compute/merge_sort/keys.py`
- `python/cuda_cccl/benchmarks/compute/merge_sort/pairs.py`
- `python/cuda_cccl/benchmarks/compute/partition/three_way.py`
- `python/cuda_cccl/benchmarks/compute/pixi.toml`
- `python/cuda_cccl/benchmarks/compute/pytest.ini`
- `python/cuda_cccl/benchmarks/compute/quick_configs.yaml`
- `python/cuda_cccl/benchmarks/compute/radix_sort/keys.py`
- `python/cuda_cccl/benchmarks/compute/radix_sort/pairs.py`
- `python/cuda_cccl/benchmarks/compute/reduce/custom.py`
- `python/cuda_cccl/benchmarks/compute/reduce/min.py`
- `python/cuda_cccl/benchmarks/compute/reduce/nondeterministic.py`
- `python/cuda_cccl/benchmarks/compute/reduce/sum.py`
- `python/cuda_cccl/benchmarks/compute/run_benchmarks.py`
- `python/cuda_cccl/benchmarks/compute/scan/exclusive/custom.py`
- `python/cuda_cccl/benchmarks/compute/scan/exclusive/sum.py`
- `python/cuda_cccl/benchmarks/compute/segmented_sort/keys.py`
- `python/cuda_cccl/benchmarks/compute/select/if.py`
- `python/cuda_cccl/benchmarks/compute/select/unique_by_key.py`
- `python/cuda_cccl/benchmarks/compute/transform/babelstream.py`
- `python/cuda_cccl/benchmarks/compute/transform/complex_cmp.py`
- `python/cuda_cccl/benchmarks/compute/transform/fib.py`
- `python/cuda_cccl/benchmarks/compute/transform/fill.py`
- `python/cuda_cccl/benchmarks/compute/transform/grayscale.py`
- `python/cuda_cccl/benchmarks/compute/transform/heavy.py`
- `python/cuda_cccl/benchmarks/compute/transform_reduce/sum.py`
- `python/cuda_cccl/benchmarks/compute/utils.py`

## Evidence Bundle

`evidence/pull-bundles/cccl-cub/gh-7341`
