-
Notifications
You must be signed in to change notification settings - Fork 407
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
Conversation
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() {} |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
?
@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. |
@dalg24 : how would you feel about a "code-cleanup" label and having
comments like this just link to those issues? "This isn't a part of your
PR, but I'm opening an issue here [link] to fix this thing I noticed." That
way I have a label I can just go through on days when I need a bit of
brainless work. Also, the author still has the ability to close them via
addressing comments.
Might be a little heavy-weight, but I personally like it
…On Tue, Sep 8, 2020 at 7:07 PM Damien L-G ***@***.***> wrote:
@dalg24 <https://github.com/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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3357 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAGLSKOVPMF4OMZMS34BXTSE3INBANCNFSM4RAR3HVQ>
.
--
Thanks,
David
|
This is needed so that Kokkos Graphs don't have to include Kokkos Tasking stuff to do exec space EBO.