---
id: pr-cccl-cub-7916
repo: NVIDIA/cccl
pr: 7916
title: '[cuda.compute]: Merge sort negative temp storage bytes fix'
author: NaderAlAwar
date: '2026-03-06'
url: https://github.com/NVIDIA/cccl/pull/7916
source_category: upstream-code
architectures:
- sm100
tags:
- sort
techniques: []
hardware_features: []
kernel_types:
- sort
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 18025d6ec3b4ac2c0097fc0405d613351f99d0e0
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- python/cuda_cccl/cuda/compute/_bindings_impl.pyx
- python/cuda_cccl/tests/compute/test_merge_sort.py
artifact_dir: evidence/pull-bundles/cccl-cub/gh-7916
head_ref_oid: 872c8e0b09cd6b477b4b98e92c87f2f0a9a53cc0
---
# [cuda.compute]: Merge sort negative temp storage bytes fix

- Repository: `NVIDIA/cccl`
- PR: [7916](https://github.com/NVIDIA/cccl/pull/7916)
- 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/cuda/compute/_bindings_impl.pyx`
- `python/cuda_cccl/tests/compute/test_merge_sort.py`

## Evidence Bundle

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