Skip to content

[BUG]: The latest cub::DeviceRunLengthEncode fail to compile with thrust transform iterator #6419

@trivialfis

Description

@trivialfis

Is this a duplicate?

Type of Bug

Compile-time Error

Component

CUB

Describe the bug

Ref: dmlc/xgboost#11784

The compilation log is provided below:
rle-nvcc.log

The error happens only with the latest CCCL, but it works fine with older versions.

How to Reproduce

I haven't been able to extract an MRE yet. Creating an independent example somehow couldn't reproduce the error.

Expected behavior

The compilation should succeed. RLE should support a transform iterator with a lambda function.

Reproduction link

No response

Operating System

Ubuntu 24.04, Windows 11

nvidia-smi output

No response

NVCC version

$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2025 NVIDIA Corporation
Built on Tue_May_27_02:21:03_PDT_2025
Cuda compilation tools, release 12.9, V12.9.86
Build cuda_12.9.r12.9/compiler.36037853_0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions