---
id: pr-cccl-cub-9020
repo: NVIDIA/cccl
pr: 9020
title: Fix mdspan support in modernized CUB interfaces
author: pauleonix
date: '2026-05-15'
url: https://github.com/NVIDIA/cccl/pull/9020
source_category: upstream-code
architectures:
- sm100
tags:
- cuda kernel
techniques: []
hardware_features: []
kernel_types: []
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 9c11be28468cb255aae5092d364fdd152de113f3
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- cub/cub/detail/type_traits.cuh
- cub/test/catch2_test_thread_scan_exclusive_partial.cu
- cub/test/catch2_test_thread_scan_inclusive_partial.cu
- cub/test/thread_reduce/catch2_test_thread_reduce.cu
- cub/test/thread_reduce/catch2_test_thread_reduce_partial.cu
artifact_dir: evidence/pull-bundles/cccl-cub/gh-9020
head_ref_oid: 71612f8902f41c155d5dfc005a17ef7809f9c81f
---
# Fix mdspan support in modernized CUB interfaces

- Repository: `NVIDIA/cccl`
- PR: [9020](https://github.com/NVIDIA/cccl/pull/9020)
- 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/detail/type_traits.cuh`
- `cub/test/catch2_test_thread_scan_exclusive_partial.cu`
- `cub/test/catch2_test_thread_scan_inclusive_partial.cu`
- `cub/test/thread_reduce/catch2_test_thread_reduce.cu`
- `cub/test/thread_reduce/catch2_test_thread_reduce_partial.cu`

## Evidence Bundle

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