---
id: pr-cccl-cub-8992
repo: NVIDIA/cccl
pr: 8992
title: Use the new tuning API internally for `detail::segmented_sort::dispatch`
author: bernhardmgruber
date: '2026-05-15'
url: https://github.com/NVIDIA/cccl/pull/8992
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark kernel
- block
- cuda kernel
- sort
techniques: []
hardware_features: []
kernel_types:
- sort
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: db908381729c43dfd6955afc779bdf7bbdb33540
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- cub/benchmarks/bench/segmented_sort/keys.cu
- cub/cub/device/device_segmented_sort.cuh
- cub/test/catch2_test_device_segmented_sort_keys_env.cu
- cub/test/catch2_test_device_segmented_sort_pairs_env.cu
artifact_dir: evidence/pull-bundles/cccl-cub/gh-8992
head_ref_oid: 3d684479200cf8a61b4b3fc52e50c77fd5cad02f
---
# Use the new tuning API internally for `detail::segmented_sort::dispatch`

- Repository: `NVIDIA/cccl`
- PR: [8992](https://github.com/NVIDIA/cccl/pull/8992)
- 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

- `cub/benchmarks/bench/segmented_sort/keys.cu`
- `cub/cub/device/device_segmented_sort.cuh`
- `cub/test/catch2_test_device_segmented_sort_keys_env.cu`
- `cub/test/catch2_test_device_segmented_sort_pairs_env.cu`

## Evidence Bundle

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