---
id: pr-cccl-cub-7968
repo: NVIDIA/cccl
pr: 7968
title: Add environment `DeviceMergeSort`
author: gonidelis
date: '2026-03-13'
url: https://github.com/NVIDIA/cccl/pull/7968
source_category: upstream-code
architectures:
- sm100
tags:
- sort
techniques: []
hardware_features: []
kernel_types:
- sort
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: e73dae42da0a05832d2241fb6f47fb1a1a5ab467
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- cub/cub/device/device_merge_sort.cuh
- cub/test/catch2_test_device_merge_sort_env.cu
- cub/test/catch2_test_device_merge_sort_env_api.cu
artifact_dir: evidence/pull-bundles/cccl-cub/gh-7968
head_ref_oid: 7a7881529981fb9df0781c6c42e3fa05f352afa3
---
# Add environment `DeviceMergeSort`

- Repository: `NVIDIA/cccl`
- PR: [7968](https://github.com/NVIDIA/cccl/pull/7968)
- 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_merge_sort.cuh`
- `cub/test/catch2_test_device_merge_sort_env.cu`
- `cub/test/catch2_test_device_merge_sort_env_api.cu`

## Evidence Bundle

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