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] Add support for mdspan #582

Open
cliffburdick opened this issue Mar 1, 2024 · 0 comments
Open

[FEA] Add support for mdspan #582

cliffburdick opened this issue Mar 1, 2024 · 0 comments

Comments

@cliffburdick
Copy link
Collaborator

mdspan is an upcoming feature in C++23 with two main changes:

  1. operator[] for multi-dimensional arrays
  2. Indexing and types for multi-dimensional arrays

While 1 requires a new C++ compiler, 2 has been included the CCCL recently. For this feature we can add partial support for the second part by taking in mdspan types into make_tensor calls to translate to what we have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant