---
id: pr-cccl-cub-8648
repo: NVIDIA/cccl
pr: 8648
title: Refactor offset type assertion in segmented scan
author: bernhardmgruber
date: '2026-04-23'
url: https://github.com/NVIDIA/cccl/pull/8648
source_category: upstream-code
architectures:
- sm100
tags:
- scan
techniques: []
hardware_features: []
kernel_types:
- scan
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: b15e5d491d306c8220a03b3b8a8440dee2c586dd
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- cub/cub/device/device_segmented_scan.cuh
artifact_dir: evidence/pull-bundles/cccl-cub/gh-8648
head_ref_oid: 7738efda9e15086c65fc27c7aed9887aa3ed7a06
---
# Refactor offset type assertion in segmented scan

- Repository: `NVIDIA/cccl`
- PR: [8648](https://github.com/NVIDIA/cccl/pull/8648)
- 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_scan.cuh`

## Evidence Bundle

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