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

More compile time improvements #246

Merged
merged 5 commits into from
May 17, 2021

Conversation

bernhardmgruber
Copy link
Member

@bernhardmgruber bernhardmgruber commented May 17, 2021

Addresses #240.

Further improves compile time by using memoizable variable templates instead of repreated constexpr evaluation.
Adds a fast-path for VirtualRecord operators when the LHS and RHS record dimension is equal.

This is faster than the constexpr version on clang and avoids clang's maximum constexpr depth.
This is faster than the constexpr version on clang and avoids clang's maximum constexpr depth.
@bernhardmgruber bernhardmgruber changed the title Replace constexpr functions by variable templates More compile time improvements May 17, 2021
@bernhardmgruber bernhardmgruber linked an issue May 17, 2021 that may be closed by this pull request
@bernhardmgruber bernhardmgruber merged commit 2c89742 into alpaka-group:develop May 17, 2021
@bernhardmgruber bernhardmgruber deleted the ref branch May 17, 2021 23:31
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.

Improve compile time
1 participant