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

Use Kokkos::printf for Kokkos >= 4.2.00 #958

Merged
merged 2 commits into from
Oct 14, 2023

Conversation

masterleinad
Copy link
Collaborator

@masterleinad masterleinad commented Oct 12, 2023

The header file (impl/Kokkos_Printf.hpp) is not public so we are relying on Kokkos_Core.hpp for now.
Maybe, we can promote the header before the release, see kokkos/kokkos#6506.

Copy link
Contributor

@aprokop aprokop left a comment

Choose a reason for hiding this comment

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

Should we create ArborX_KokkosExtPrintf.hpp to hide the complexity?

@dalg24
Copy link
Contributor

dalg24 commented Oct 12, 2023

Should we create ArborX_KokkosExtPrintf.hpp to hide the complexity?

It is tricky. If it was in our internals I would say yes absolutely. But these are mostly examples and we would not want our users to use anything from KokkosExt:: directly so we probably should not showcase it.

@aprokop
Copy link
Contributor

aprokop commented Oct 12, 2023

It is tricky. If it was in our internals I would say yes absolutely. But these are mostly examples and we would not want our users to use anything from KokkosExt:: directly so we probably should not showcase it.

Good point, I haven't checked where it's done.

@aprokop aprokop changed the title Use Kokkos::printf for Kokkos >= 4.1.99 Use Kokkos::printf for Kokkos >= 4.2.00 Oct 13, 2023
@aprokop aprokop merged commit 9728b83 into arborx:master Oct 14, 2023
2 checks passed
@aprokop aprokop deleted the use_kokkos_printf branch October 14, 2023 00:08
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.

3 participants