---
id: pr-cccl-cub-8695
repo: NVIDIA/cccl
pr: 8695
title: Replace `detail::segmented_reduce::dispatch` by the public API
author: bernhardmgruber
date: '2026-04-30'
url: https://github.com/NVIDIA/cccl/pull/8695
source_category: upstream-code
architectures:
- sm100
tags:
- CUB
- benchmark_test
- memory_primitives
- reduce
- segmented reduce
techniques: []
hardware_features: []
kernel_types:
- memory
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 26480aa6adcf9875cd351322da64d57a92e2e996
inclusion_reason: 'Transfer primitive policy carefully: coalescing, shared-memory staging, partial tiles, and determinism are part of the contract.'
changed_paths:
- cub/benchmarks/bench/segmented_reduce/base.cuh
- cub/benchmarks/bench/segmented_reduce/variable_base.cuh
- cub/cub/device/device_segmented_reduce.cuh
- cub/cub/device/dispatch/dispatch_segmented_reduce.cuh
- cub/test/catch2_test_device_segmented_reduce_env.cu
artifact_dir: evidence/pull-bundles/cccl-cub/gh-8695
head_ref_oid: 6bd20c2061d2b2c56e7454d8defbca57558996ac
---
# Replace `detail::segmented_reduce::dispatch` by the public API

- Repository: `NVIDIA/cccl`
- PR: [8695](https://github.com/NVIDIA/cccl/pull/8695)
- Decision: `Transfer primitive policy carefully: coalescing, shared-memory staging, partial tiles, and determinism are part of the contract.`
- Reason: Transfer primitive policy carefully: coalescing, shared-memory staging, partial tiles, and determinism are part of the contract.

## Changed Paths

- `cub/benchmarks/bench/segmented_reduce/base.cuh`
- `cub/benchmarks/bench/segmented_reduce/variable_base.cuh`
- `cub/cub/device/device_segmented_reduce.cuh`
- `cub/cub/device/dispatch/dispatch_segmented_reduce.cuh`
- `cub/test/catch2_test_device_segmented_reduce_env.cu`

## Evidence Bundle

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