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

Allow to use static arrays as record dimension #285

Merged
merged 3 commits into from
Jun 3, 2021

Conversation

bernhardmgruber
Copy link
Member

@bernhardmgruber bernhardmgruber commented Jun 3, 2021

This PR adds better static array support to LLAMA and avoids internally expanding static arrays into records. This speeds up compilation and allows LLAMA to handle larger arrays as part of the record domain.

It also fixes #244.

* remove expansion of static arrays in record dimension into a Record
* add overloads and specializations of some internal functions for static arrays
* move is_bounded_array helper to Core.hpp
* add isRecordCoord helper
@bernhardmgruber bernhardmgruber marked this pull request as ready for review June 3, 2021 15:42
@bernhardmgruber bernhardmgruber merged commit 72f92ba into alpaka-group:develop Jun 3, 2021
@bernhardmgruber bernhardmgruber deleted the static_array branch June 3, 2021 17:22
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

Successfully merging this pull request may close these issues.

Allow statically sized array as record dimension
1 participant