Skip to content

[FEA]: SoL on cub::Transform for custom/zip input and output iterator #6143

Description

@Kh4ster

Is this a duplicate?

Area

CUB

Is your feature request related to a problem? Please describe.

In cuOpt's PDLP Solver (linear programming solver) we are dependent on cub::Transform.

We call it at every single iteration of the solver here: https://github.com/NVIDIA/cuopt/blob/branch-25.10/cpp/src/linear_programming/pdhg.cu#L197

And you can find the functor here: https://github.com/NVIDIA/cuopt/blob/branch-25.10/cpp/src/linear_programming/utils.cuh#L102

I wanted to make sure with the CCCL team that this case of input/output iterator is properly handled by cub::Transform to reach SoL.

Describe the solution you'd like

An SoL cub::Transform for such iterator (which might already be the case)

Describe alternatives you've considered

No response

Additional context

No response

Activity

  1. bernhardmgruber commented on Oct 7, 2025

    @bernhardmgruber
    Contributor

    Thank you for creating this issue. The main motivation for me was (after internal discussion) that the transformation writes to three output arrays, which is a use case we have considered in the past, but not implemented. I think we should derive a benchmark from the code you pointed to and add a new variant of DeviceTransform to writes to multiple output arrays.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

  • Status
    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions