---
id: pr-cccl-cub-8323
repo: NVIDIA/cccl
pr: 8323
title: Add `DoubleBuffer` env overloads for `DeviceSegmentedRadixSort::SortKeys`
author: gonidelis
date: '2026-04-08'
url: https://github.com/NVIDIA/cccl/pull/8323
source_category: upstream-code
architectures:
- sm100
tags:
- sort
techniques: []
hardware_features: []
kernel_types:
- sort
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: bfb94f236150f94cae250b8bccf465cee51a399e
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- cub/cub/device/device_segmented_radix_sort.cuh
- cub/test/catch2_test_device_segmented_radix_sort_env.cu
- cub/test/catch2_test_device_segmented_radix_sort_env_api.cu
artifact_dir: evidence/pull-bundles/cccl-cub/gh-8323
head_ref_oid: 382332973276125ff2a8fa6185b34ebdca3218ea
---
# Add `DoubleBuffer` env overloads for `DeviceSegmentedRadixSort::SortKeys`

- Repository: `NVIDIA/cccl`
- PR: [8323](https://github.com/NVIDIA/cccl/pull/8323)
- 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/cub/device/device_segmented_radix_sort.cuh`
- `cub/test/catch2_test_device_segmented_radix_sort_env.cu`
- `cub/test/catch2_test_device_segmented_radix_sort_env_api.cu`

## Evidence Bundle

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