---
id: pr-cccl-cub-8495
repo: NVIDIA/cccl
pr: 8495
title: Replace `detail::scan::dispatch` by CUB's public API
author: bernhardmgruber
date: '2026-05-06'
url: https://github.com/NVIDIA/cccl/pull/8495
source_category: upstream-code
architectures:
- sm100
tags:
- benchmark
- benchmark_test
- memory_primitives
- policy tuning
- scan
- warpspeed scan
techniques:
- warp-specialization
hardware_features: []
kernel_types:
- memory
- scan
languages:
- cuda-cpp
captured_at: '2026-05-16'
status: merged
merge_sha: 9141608b4e7e2c89dd83d7ff43cf944f033e924b
inclusion_reason: 'Transfer primitive policy carefully: coalescing, shared-memory staging, partial tiles, and determinism are part of the contract.'
changed_paths:
- cub/benchmarks/bench/scan/applications/P1/log-cdf-from-log-pdfs.cu
- cub/benchmarks/bench/scan/applications/P1/non-commutative-bicyclic-monoid.cu
- cub/benchmarks/bench/scan/applications/P1/rabin-karp-second-fingerprinting.cu
- cub/benchmarks/bench/scan/applications/P1/running-min-max.cu
- cub/benchmarks/bench/scan/applications/P1/scan-over-unitriangular-group.cu
- cub/benchmarks/bench/scan/exclusive/base.cuh
- cub/cub/device/device_scan.cuh
- cub/test/catch2_test_device_scan_env.cu
- docs/cub/developer/device_scope.rst
- thrust/thrust/system/cuda/detail/scan.h
artifact_dir: evidence/pull-bundles/cccl-cub/gh-8495
head_ref_oid: d5dfa79d577dcf558a045c41314ad4348791dfc4
---
# Replace `detail::scan::dispatch` by CUB's public API

- Repository: `NVIDIA/cccl`
- PR: [8495](https://github.com/NVIDIA/cccl/pull/8495)
- Decision: `Transfer primitive policy carefully: coalescing, shared-memory staging, partial tiles, and determinism are part of the contract.`
- Reason: Transfer primitive policy carefully: coalescing, shared-memory staging, partial tiles, and determinism are part of the contract.

## Changed Paths

- `cub/benchmarks/bench/scan/applications/P1/log-cdf-from-log-pdfs.cu`
- `cub/benchmarks/bench/scan/applications/P1/non-commutative-bicyclic-monoid.cu`
- `cub/benchmarks/bench/scan/applications/P1/rabin-karp-second-fingerprinting.cu`
- `cub/benchmarks/bench/scan/applications/P1/running-min-max.cu`
- `cub/benchmarks/bench/scan/applications/P1/scan-over-unitriangular-group.cu`
- `cub/benchmarks/bench/scan/exclusive/base.cuh`
- `cub/cub/device/device_scan.cuh`
- `cub/test/catch2_test_device_scan_env.cu`
- `docs/cub/developer/device_scope.rst`
- `thrust/thrust/system/cuda/detail/scan.h`

## Evidence Bundle

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