---
id: pr-cccl-cub-5526
repo: NVIDIA/cccl
pr: 5526
title: Special case `DeviceTransform` for no inputs and provide a `DeviceTransform::Fill` API
author: bernhardmgruber
date: '2025-08-18'
url: https://github.com/NVIDIA/cccl/pull/5526
source_category: upstream-code
architectures:
- sm100
- sm90
tags:
- blackwell
- hopper
techniques: []
hardware_features:
- blackwell
- hopper
kernel_types: []
languages: []
captured_at: '2026-05-16'
status: merged
merge_sha: 07f66bc22347b3ccb85d89e4efe81853b405b136
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- cub/benchmarks/bench/transform/fill.cu
- cub/cub/device/device_transform.cuh
- cub/cub/device/dispatch/kernels/transform.cuh
- cub/cub/device/dispatch/tuning/tuning_transform.cuh
- cub/test/catch2_test_device_transform.cu
artifact_dir: evidence/pull-bundles/cccl-cub/gh-5526
head_ref_oid: 0f45ade7f65c39bff466e5bd4dc7ad80e1be9653
---
# Special case `DeviceTransform` for no inputs and provide a `DeviceTransform::Fill` API

- Repository: `NVIDIA/cccl`
- PR: [5526](https://github.com/NVIDIA/cccl/pull/5526)
- 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/benchmarks/bench/transform/fill.cu`
- `cub/cub/device/device_transform.cuh`
- `cub/cub/device/dispatch/kernels/transform.cuh`
- `cub/cub/device/dispatch/tuning/tuning_transform.cuh`
- `cub/test/catch2_test_device_transform.cu`

## Evidence Bundle

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