Skip to content

Commit

Permalink
fix arguments for static 2D View constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
yasahi-hpc committed May 25, 2024
1 parent 5529803 commit 0173e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/unit_tests/TestStdAlgorithmsConstraints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ TEST(std_algorithms, expect_no_overlap) {

// Iterating over the same range without overlapping
Kokkos::View<value_type[2][extent0], Kokkos::LayoutLeft> static_view_2d{
"std-algo-test-2d-contiguous-view-static", extent0};
"std-algo-test-2d-contiguous-view-static"};
auto sub_static_view_1d_0 = Kokkos::subview(static_view_2d, 0, Kokkos::ALL);
auto sub_static_view_1d_1 = Kokkos::subview(static_view_2d, 1, Kokkos::ALL);
auto sub_first_s0 = KE::begin(sub_static_view_1d_0); // 0, 2, 4, ...
Expand Down

0 comments on commit 0173e7e

Please sign in to comment.