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

Document Kokkos::kokkos_swap and associated new public header #477

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

dalg24
Copy link
Member

@dalg24 dalg24 commented Dec 17, 2023

Pending on kokkos/kokkos#6678
Documenting kokkos/kokkos#6697

is ``true``.

2) Swaps the arrays ``a`` and ``b``. This overload does not participate in
overload resolution unless ``T2`` is swappable.
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we say a little about what is_swappable is? maybe referring to the std https://en.cppreference.com/w/cpp/types/is_swappable?

Copy link
Member Author

@dalg24 dalg24 Dec 28, 2023

Choose a reason for hiding this comment

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

We would need to define our own which I was hoping we would not get into.
Also the way things are going (ADL issues) we will have to call Kokkos::swap something else...

@dalg24 dalg24 changed the title Document Kokkos::swap and associated new public header Document Kokkos::kokkos_swap and associated new public header Jan 10, 2024
@crtrott crtrott merged commit 8b3860a into kokkos:main Jan 12, 2024
1 check passed
@dalg24 dalg24 deleted the swap branch January 12, 2024 18:06
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