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

Improve readability of the callback invocation in profiling #3860

Merged
merged 6 commits into from
Mar 22, 2021

Conversation

dalg24
Copy link
Member

@dalg24 dalg24 commented Mar 18, 2021

Address https://github.com/kokkos/kokkos/pull/3812/files#r595326646

  • invoke_kokkos_callback -> invoke_kokkosp_callback
  • std::{true,false}_type -> MayRequireGlobalFence::{Yes,No}
  • let MayRequireGlobalFence::{Yes,No} be the 1st argument instead of passing it between the callback and its arguments
  • more consistency when qualifying names

Copy link
Contributor

@DavidPoliakoff DavidPoliakoff left a comment

Choose a reason for hiding this comment

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

Does what it says on the tin

@dalg24 dalg24 requested a review from nliber March 19, 2021 20:43
core/src/impl/Kokkos_Profiling.cpp Outdated Show resolved Hide resolved
…tches true

Co-Authored-By: Nevin Liber <nliber@anl.gov>
@dalg24 dalg24 merged commit ef05e8c into kokkos:develop Mar 22, 2021
@dalg24 dalg24 deleted the cleanup_profiling branch March 22, 2021 15:40
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

3 participants