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]: Provide for_each_in_extent to directly linearization/de-linearization multidimensional indices with mdspan #2475

Open
1 task done
fbusato opened this issue Sep 27, 2024 · 0 comments
Labels
feature request New feature or request.

Comments

@fbusato
Copy link
Contributor

fbusato commented Sep 27, 2024

Is this a duplicate?

Area

libcu++

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

Working with mdspan with one-dimension iterators (see llc.c) requires to de-linearization and linearization offsets making the process bug-prone and difficult to read and write

Describe the solution you'd like

Provide for_each_in_extent to allow directly working with multi-dimensional indices

Describe alternatives you've considered

No response

Additional context

No response

@fbusato fbusato added the feature request New feature or request. label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request.
Projects
Status: Todo
Development

No branches or pull requests

1 participant