Skip to content

[FEA]: Add vectorized cub::DeviceFind::UpperBound and cub::DeviceFind::LowerBound algorithms #6695

Closed

Description

@jrhemstad

Is this a duplicate?

Area

CUB

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

The current CUB API lacks vectorized equivalents of upper_bound and lower_bound algorithms, which are present in Thrust. I would like to be able to use vectorized cub::DeviceFind::UpperBound and cub::DeviceFind::LowerBound similar to thrust::upper_bound and thrust::lower_bound algorithms. This would help with feature parity and enable these capabilities in cuda.compute.

Describe the solution you'd like

Introduce new vectorized cub::DeviceFind::UpperBound and cub::DeviceFind::LowerBound APIs, mirroring the interface and behavior provided by thrust::upper_bound and thrust::lower_bound.

Describe alternatives you've considered

No response

Additional context

End goal is to expose upper_bound and lower_bound functionality in cuda.compute.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions