---
id: pr-cccl-cub-8835
repo: NVIDIA/cccl
pr: 8835
title: Rename `BlockThreads` to `ThreadsPerBlock`
author: bernhardmgruber
date: '2026-05-06'
url: https://github.com/NVIDIA/cccl/pull/8835
source_category: upstream-code
architectures:
- sm100
tags:
- block
techniques: []
hardware_features: []
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: e68864396c54b853fea0db0dcb64f7718157642c
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- c2h/include/c2h/fill_striped.h
- cub/benchmarks/bench/segmented_scan/base.cuh
- cub/cub/agent/agent_adjacent_difference.cuh
- cub/cub/agent/agent_batch_memcpy.cuh
- cub/cub/agent/agent_find.cuh
- cub/cub/agent/agent_for.cuh
- cub/cub/agent/agent_histogram.cuh
- cub/cub/agent/agent_merge.cuh
- cub/cub/agent/agent_radix_sort_downsweep.cuh
- cub/cub/agent/agent_radix_sort_histogram.cuh
- cub/cub/agent/agent_radix_sort_onesweep.cuh
- cub/cub/agent/agent_radix_sort_upsweep.cuh
- cub/cub/agent/agent_reduce.cuh
- cub/cub/agent/agent_reduce_by_key.cuh
- cub/cub/agent/agent_rle.cuh
- cub/cub/agent/agent_scan.cuh
- cub/cub/agent/agent_scan_by_key.cuh
- cub/cub/agent/agent_select_if.cuh
- cub/cub/agent/agent_sub_warp_merge_sort.cuh
- cub/cub/agent/agent_three_way_partition.cuh
- cub/cub/agent/agent_topk.cuh
- cub/cub/agent/agent_unique_by_key.cuh
- cub/cub/block/block_load.cuh
- cub/cub/block/block_raking_layout.cuh
- cub/cub/block/block_store.cuh
- cub/cub/block/specializations/block_topk_air.cuh
- cub/cub/device/dispatch/dispatch_reduce.cuh
- cub/cub/device/dispatch/dispatch_scan.cuh
- cub/cub/device/dispatch/dispatch_segmented_reduce.cuh
- cub/cub/device/dispatch/dispatch_segmented_sort.cuh
- cub/cub/device/dispatch/dispatch_three_way_partition.cuh
- cub/cub/device/dispatch/kernels/kernel_transform.cuh
- cub/cub/device/dispatch/tuning/tuning_merge_sort.cuh
- cub/cub/device/dispatch/tuning/tuning_radix_sort.cuh
- cub/cub/device/dispatch/tuning/tuning_segmented_sort.cuh
- cub/cub/util_arch.cuh
- cub/cub/util_device.cuh
- cub/test/catch2_test_device_adjacent_difference_env.cu
- cub/test/catch2_test_device_for_env.cu
- cub/test/catch2_test_device_merge_env.cu
- cub/test/catch2_test_device_merge_sort_env.cu
- cub/test/catch2_test_device_reduce_env.cu
- cub/test/catch2_test_device_run_length_encode_env.cu
- cub/test/catch2_test_device_scan_env.cu
- cub/test/catch2_test_device_segmented_reduce_env.cu
- cub/test/catch2_test_device_segmented_scan_multi_segment.cu
- cub/test/catch2_test_device_transform.cu
- cub/test/catch2_test_util_arch.cu
- cub/test/catch2_test_vsmem.cu
- cub/test/test_block_radix_rank.cu
- cudax/include/cuda/experimental/__execution/stream/adaptor.cuh
- cudax/include/cuda/experimental/__execution/stream/scheduler.cuh
- libcudacxx/test/libcudacxx/cuda/execution/tune.pass.cpp
- nvbench_helper/nvbench_helper/device_side_benchmark.cuh
artifact_dir: evidence/pull-bundles/cccl-cub/gh-8835
head_ref_oid: cf130872457b3b06d578168656094c515a846fe1
---
# Rename `BlockThreads` to `ThreadsPerBlock`

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

- `c2h/include/c2h/fill_striped.h`
- `cub/benchmarks/bench/segmented_scan/base.cuh`
- `cub/cub/agent/agent_adjacent_difference.cuh`
- `cub/cub/agent/agent_batch_memcpy.cuh`
- `cub/cub/agent/agent_find.cuh`
- `cub/cub/agent/agent_for.cuh`
- `cub/cub/agent/agent_histogram.cuh`
- `cub/cub/agent/agent_merge.cuh`
- `cub/cub/agent/agent_radix_sort_downsweep.cuh`
- `cub/cub/agent/agent_radix_sort_histogram.cuh`
- `cub/cub/agent/agent_radix_sort_onesweep.cuh`
- `cub/cub/agent/agent_radix_sort_upsweep.cuh`
- `cub/cub/agent/agent_reduce.cuh`
- `cub/cub/agent/agent_reduce_by_key.cuh`
- `cub/cub/agent/agent_rle.cuh`
- `cub/cub/agent/agent_scan.cuh`
- `cub/cub/agent/agent_scan_by_key.cuh`
- `cub/cub/agent/agent_select_if.cuh`
- `cub/cub/agent/agent_sub_warp_merge_sort.cuh`
- `cub/cub/agent/agent_three_way_partition.cuh`
- `cub/cub/agent/agent_topk.cuh`
- `cub/cub/agent/agent_unique_by_key.cuh`
- `cub/cub/block/block_load.cuh`
- `cub/cub/block/block_raking_layout.cuh`
- `cub/cub/block/block_store.cuh`
- `cub/cub/block/specializations/block_topk_air.cuh`
- `cub/cub/device/dispatch/dispatch_reduce.cuh`
- `cub/cub/device/dispatch/dispatch_scan.cuh`
- `cub/cub/device/dispatch/dispatch_segmented_reduce.cuh`
- `cub/cub/device/dispatch/dispatch_segmented_sort.cuh`
- `cub/cub/device/dispatch/dispatch_three_way_partition.cuh`
- `cub/cub/device/dispatch/kernels/kernel_transform.cuh`
- `cub/cub/device/dispatch/tuning/tuning_merge_sort.cuh`
- `cub/cub/device/dispatch/tuning/tuning_radix_sort.cuh`
- `cub/cub/device/dispatch/tuning/tuning_segmented_sort.cuh`
- `cub/cub/util_arch.cuh`
- `cub/cub/util_device.cuh`
- `cub/test/catch2_test_device_adjacent_difference_env.cu`
- `cub/test/catch2_test_device_for_env.cu`
- `cub/test/catch2_test_device_merge_env.cu`
- `cub/test/catch2_test_device_merge_sort_env.cu`
- `cub/test/catch2_test_device_reduce_env.cu`
- `cub/test/catch2_test_device_run_length_encode_env.cu`
- `cub/test/catch2_test_device_scan_env.cu`
- `cub/test/catch2_test_device_segmented_reduce_env.cu`
- `cub/test/catch2_test_device_segmented_scan_multi_segment.cu`
- `cub/test/catch2_test_device_transform.cu`
- `cub/test/catch2_test_util_arch.cu`
- `cub/test/catch2_test_vsmem.cu`
- `cub/test/test_block_radix_rank.cu`
- `cudax/include/cuda/experimental/__execution/stream/adaptor.cuh`
- `cudax/include/cuda/experimental/__execution/stream/scheduler.cuh`
- `libcudacxx/test/libcudacxx/cuda/execution/tune.pass.cpp`
- `nvbench_helper/nvbench_helper/device_side_benchmark.cuh`

## Evidence Bundle

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