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

Moved Space EBO helpers to Kokkos_EBO #3357

Merged
merged 1 commit into from
Sep 11, 2020
Merged

Conversation

dhollman
Copy link

@dhollman dhollman commented Sep 8, 2020

This is needed so that Kokkos Graphs don't have to include Kokkos Tasking stuff to do exec space EBO.

This is needed so that Kokkos Graphs don't have to include
Kokkos Tasking stuff to do exec space EBO.
NoUniqueAddressMemberEmulation<ExecutionSpace, DefaultCtorNotOnDevice>;

protected:
constexpr explicit ExecutionSpaceInstanceStorage() : base_t() {}
Copy link
Member

Choose a reason for hiding this comment

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

Can be defaulted. Should it be annotated with __host__ __device__ (KOKKOS_DEFAULTED_FUNCTION or similar)?

protected:
constexpr explicit ExecutionSpaceInstanceStorage() : base_t() {}

KOKKOS_INLINE_FUNCTION
Copy link
Member

Choose a reason for hiding this comment

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

inline specifier is superfluous. Should the function be declared with noexcept?

@dhollman
Copy link
Author

dhollman commented Sep 8, 2020

@dalg24 This is literally code that is already in Kokkos verbatim. Of course I could clean it up, but I've been told to avoid making changes like that when doing something else.

@dalg24
Copy link
Member

dalg24 commented Sep 9, 2020

@dalg24 This is literally code that is already in Kokkos verbatim. Of course I could clean it up, but I've been told to avoid making changes like that when doing something else.

This is fair and you'll notice I just commented and did not request changes.

@DavidPoliakoff
Copy link
Contributor

DavidPoliakoff commented Sep 9, 2020 via email

@crtrott crtrott merged commit d596583 into kokkos:develop Sep 11, 2020
@dhollman dhollman deleted the relocate-ebo branch September 21, 2020 22:29
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.

None yet

4 participants