Skip to content

Implement ThreadReduce and ThreadScan alternatives that invoke the binary_op only for the given valid_items #5192

Description

@pauleonix

BlockScan member function overloads taking multiple items per thread use ThreadReduce and ThreadScan[Inclusive, Exclusive] to map the problem to the single-element overloads, so having alternative functions that take a dynamic valid_items parameter and don't apply the binary operator to any invalid items is a prerequisite of #5119.

Activity

  1. self-assigned this
    on Jul 9, 2025
  2. changed the title [-]Implement `ThreadReduce` and `ThreadScan` overloads that invoke the `binary_op` only for the given `num_items`[/-] [+]Implement `ThreadReduce` and `ThreadScan` alternatives that invoke the `binary_op` only for the given `num_items`[/+] on Jul 21, 2025
  3. changed the title [-]Implement `ThreadReduce` and `ThreadScan` alternatives that invoke the `binary_op` only for the given `num_items`[/-] [+]Implement `ThreadReduce` and `ThreadScan` alternatives that invoke the `binary_op` only for the given `valid_items`[/+] on Jul 21, 2025
  4. moved this from Todo to In Progress in CCCLon Jul 29, 2025
  5. moved this from In Progress to In Review in CCCLon Jul 30, 2025
  6. moved this from In Review to Done in CCCLon Jul 30, 2025
  7. linked a pull request that will close this issue[CUB] Add `cub::detail::ThreadScan*Partial` #5300on Aug 1, 2025
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