Skip to content

Conversation

@yasahi-hpc
Copy link
Collaborator

This PR aims at making transpose helper to work on Views with different Layout.

  • Allow to transpose InView to OutView with different LayoutType
  • Parameterize tests over multiple layout combinations including different Layout combinations
  using layout_types =
    ::testing::Types<std::pair<Kokkos::LayoutLeft, Kokkos::LayoutLeft>,
                     std::pair<Kokkos::LayoutLeft, Kokkos::LayoutRight>,
                     std::pair<Kokkos::LayoutRight, Kokkos::LayoutLeft>,
                     std::pair<Kokkos::LayoutRight, Kokkos::LayoutRight>>;

@yasahi-hpc yasahi-hpc self-assigned this Oct 22, 2025
@yasahi-hpc yasahi-hpc added enhancement New feature or request cleanup labels Oct 22, 2025
@yasahi-hpc yasahi-hpc force-pushed the layout-free-transpose branch from 1e06226 to 2b0ba43 Compare October 22, 2025 06:48
@yasahi-hpc
Copy link
Collaborator Author

@tretre91

Thanks! I will merge this

@yasahi-hpc yasahi-hpc force-pushed the layout-free-transpose branch from 2b0ba43 to a13f282 Compare October 22, 2025 11:07
@yasahi-hpc yasahi-hpc merged commit 52d52f2 into kokkos:main Oct 22, 2025
39 checks passed
@yasahi-hpc yasahi-hpc deleted the layout-free-transpose branch October 22, 2025 12:23
@yasahi-hpc yasahi-hpc mentioned this pull request Oct 31, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants