Skip to content

[FEA]: Provide Env-based API for cub::DeviceReduce::Sum #4960

Closed

Description

@gonidelis

Is this a duplicate?

Area

CUB

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

Based on the work done in #4877 provide

  template <typename InputIteratorT,
            typename OutputIteratorT,
            typename NumItemsT,
            typename EnvT = ::cuda::std::execution::env<>>
cub::DeviceReduce::Sum(InputIteratorT, OutputIteratorT, NumItemsT, Env = EnvT{})

interface and implementation.

Also provide tests for:

  • new API works with default/non-default environment
  • new API accepting either deterministic requirements and stream argument.
  • new API accepts tuning environment

and example.

Describe the solution you'd like

Complete cub::DeviceReduce::Sum interface accepting environment env argument.

Describe alternatives you've considered

No response

Additional context

No response

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

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions