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

[FEA]: Introduce combinational ranges into cuda.parallel #2481

Closed
1 task done
gevtushenko opened this issue Sep 29, 2024 · 1 comment
Closed
1 task done

[FEA]: Introduce combinational ranges into cuda.parallel #2481

gevtushenko opened this issue Sep 29, 2024 · 1 comment
Assignees
Labels
2.8.0 target for 2.8.0 release feature request New feature or request.

Comments

@gevtushenko
Copy link
Collaborator

Is this a duplicate?

Area

General CCCL

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

We are lacking combinational ranges, such as thrust::transform_{input,output}_iterator, thrust::zip_iterator, and cub::CacheModified{Input,Output}Iterator in cuda.parallel.

Describe the solution you'd like

Design and implement combinational ranges for cuda.parallel.experimental.itertools. We might consider map(python_function, iterable) for thrust::transform_{input,output}_iterator, zip(rng1, rng2, ...) for thrust::zip_iterator, and cache(modifier, iterable) where modifier is from

enum CacheLoadModifier
{
LOAD_DEFAULT, ///< Default (no modifier)
LOAD_CA, ///< Cache at all levels
LOAD_CG, ///< Cache at global level
LOAD_CS, ///< Cache streaming (likely to be accessed once)
LOAD_CV, ///< Cache as volatile (including cached system lines)
LOAD_LDG, ///< Cache as texture
LOAD_VOLATILE, ///< Volatile (any memory space)
};

Describe alternatives you've considered

No response

Additional context

No response

@gevtushenko gevtushenko added the feature request New feature or request. label Sep 29, 2024
@github-project-automation github-project-automation bot moved this to Todo in CCCL Sep 29, 2024
@jollylili jollylili added the 2.8.0 target for 2.8.0 release label Nov 15, 2024
@jollylili jollylili moved this from Todo to In Progress in CCCL Nov 21, 2024
@gevtushenko
Copy link
Collaborator Author

#2788 introduced transform and cache modified iterators. Will track zip and transform output iterator in a different issue.

@github-project-automation github-project-automation bot moved this from In Progress to Done in CCCL Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.8.0 target for 2.8.0 release feature request New feature or request.
Projects
Status: Done
Development

No branches or pull requests

3 participants