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

[3.7.1]: Fix memory spaces in create_mirror_view overloads using view_alloc #5521

Conversation

masterleinad
Copy link
Contributor

Cherry-picking #5488.

I decided to hide if constexpr behind #ifndef KOKKOS_ENABLE_CXX14 and adapted std::is_same_v and made sure static constexpr is called with two arguments.

…okkos#5488)

* Fix memory spaces in create_mirror_view overloads using view_alloc

* Fixes

* Add test

* Fix MSVC

* Test for host mirrors differently

* Use different syntax to fix MSVC

* typename -> class

* Split Kokkos_CopyViews.hpp

* Add separate test to check memory_spaces

* Revert "Split Kokkos_CopyViews.hpp"

This reverts commit b6643ef.

* Fix execution spaces

* Improve DynamicView FIXME

* Reduce boilerplate in test

* Rework tests

* Make the tests compile-time only

* Fix typos

* Rework tests
@masterleinad
Copy link
Contributor Author

Retest this please.

@masterleinad masterleinad marked this pull request as ready for review October 6, 2022 15:00
@crtrott
Copy link
Member

crtrott commented Oct 12, 2022

@masterleinad can you retarget that to the 3.7.01 release candidate?

@masterleinad masterleinad changed the base branch from release-candidate-3.7.00 to release-candidate-3.7.01 October 12, 2022 15:40
@masterleinad masterleinad mentioned this pull request Oct 13, 2022
@crtrott crtrott merged commit 02f08a6 into kokkos:release-candidate-3.7.01 Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants