---
id: pr-cccl-cub-8504
repo: NVIDIA/cccl
pr: 8504
title: 'thrust: add 4-iterator mismatch overloads (bounded last2)'
author: edenfunf
date: '2026-04-27'
url: https://github.com/NVIDIA/cccl/pull/8504
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: 1cd6aeca61290001d035d73b2c76e1e72330f957
inclusion_reason: Search-matched CUDA kernel optimization PR; materialize diff/source before synthesis.
changed_paths:
- thrust/testing/mismatch.cu
- thrust/thrust/detail/mismatch.inl
- thrust/thrust/mismatch.h
- thrust/thrust/system/cuda/detail/mismatch.h
- thrust/thrust/system/detail/generic/mismatch.h
- thrust/thrust/system/detail/generic/mismatch.inl
artifact_dir: evidence/pull-bundles/cccl-cub/gh-8504
head_ref_oid: 4f6b61ed1bc2bedbadf99ddd861756d4d3863898
---
# thrust: add 4-iterator mismatch overloads (bounded last2)

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

- `thrust/testing/mismatch.cu`
- `thrust/thrust/detail/mismatch.inl`
- `thrust/thrust/mismatch.h`
- `thrust/thrust/system/cuda/detail/mismatch.h`
- `thrust/thrust/system/detail/generic/mismatch.h`
- `thrust/thrust/system/detail/generic/mismatch.inl`

## Evidence Bundle

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