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 statically sized array as record dimension #244

Closed
bernhardmgruber opened this issue May 17, 2021 · 0 comments · Fixed by #285
Closed

Allow statically sized array as record dimension #244

bernhardmgruber opened this issue May 17, 2021 · 0 comments · Fixed by #285

Comments

@bernhardmgruber
Copy link
Member

LLAMA allows statically sized arrays inside Records as a shorthand notation. However, it seems using a statically sized array directly as record dimension fails to compile.

using RecordDim = float[3];
using ArrayDims = ...;
using Mapping = llama::mapping::AoS<ArrayDims, RecordDim>;
...

Investiage this and add a unit test.

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 a pull request may close this issue.

1 participant