Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC]: cuda.parallel: Update documentation to include iterators and how to use them #3169

Closed
1 task done
shwina opened this issue Dec 14, 2024 · 0 comments · Fixed by #3311
Closed
1 task done

[DOC]: cuda.parallel: Update documentation to include iterators and how to use them #3169

shwina opened this issue Dec 14, 2024 · 0 comments · Fixed by #3311
Assignees
Labels
doc Documentation-related items.

Comments

@shwina
Copy link
Contributor

shwina commented Dec 14, 2024

Is this a duplicate?

Is this for new documentation, or an update to existing docs?

New

Describe the incorrect/future/missing documentation

Currently, the documentation shows how to call reduce_into with an array as input. We should additionally include examples of using iterators as inputs.

https://nvidia.github.io/cccl/cuda_parallel/

It would be good to include at least a few other examples:

  • Reducing a CountingIterator
  • Reducing a TransformIterator applied to a device array, to compute e.g., sum-of-squares
  • Reducing a TransformIterator applied to another iterator (e.g., CountingIterator to compute e.g., 1**2 + 2**2 + 3**2 + ...).

If this is a correction, please provide a link to the incorrect documentation. If this is a new documentation request, please link to where you have looked.

https://nvidia.github.io/cccl/cuda_parallel/

@shwina shwina added the doc Documentation-related items. label Dec 14, 2024
@github-project-automation github-project-automation bot moved this to Todo in CCCL Dec 14, 2024
@shwina shwina self-assigned this Dec 14, 2024
@shwina shwina assigned NaderAlAwar and unassigned shwina Jan 8, 2025
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Jan 9, 2025
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Documentation-related items.
Projects
Archived in project
2 participants