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

cuda::span improvements #482

Closed
eyalroz opened this issue Mar 25, 2023 · 0 comments
Closed

cuda::span improvements #482

eyalroz opened this issue Mar 25, 2023 · 0 comments

Comments

@eyalroz
Copy link
Owner

eyalroz commented Mar 25, 2023

Our "poor man's span" is, alas, too poor. It needs some improvements.

Example: a square-brace subscripting operator; and other things.

@eyalroz eyalroz added the task label Mar 25, 2023
@eyalroz eyalroz self-assigned this Mar 25, 2023
eyalroz added a commit that referenced this issue Mar 25, 2023
eyalroz added a commit that referenced this issue Mar 26, 2023
* `operator[]` method for `cuda::span`.
* Using the type definitions for various methods
* De-constexpr'ifying a few methods, seeing how we're not consistent in this respect anyway
* Dropped `cbegin()` and `cend()` and added an explanatory comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant