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

Provide forward declarations in Kokkos_ViewLayoutTiled.hpp for XL #3911

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

masterleinad
Copy link
Contributor

Partly fixes #3907. I checked compiling with XL myself.

@masterleinad masterleinad added the Blocks Promotion Overview issue for release-blocking bugs label Apr 5, 2021
@masterleinad masterleinad added this to the Tentative 3.4 Release milestone Apr 5, 2021
@crtrott crtrott merged commit b804cd8 into kokkos:develop Apr 7, 2021
@@ -659,6 +659,91 @@ struct ViewOffset<
: 0) {}
};

// FIXME Remove the out-of-class definitions when we require C++17
#define KOKKOS_ITERATE_VIEW_OFFSET_ENABLE \
typename std::enable_if<((Dimension::rank <= 8) && (Dimension::rank >= 2) && \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: Now that C++14 is the base, can we use enable_if_t?

Minor: I would expect to see the two Dimension::rank checks reversed.

@masterleinad masterleinad deleted the fix_xl branch April 7, 2021 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocks Promotion Overview issue for release-blocking bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants