From be6ebc024de54aa7b30e6a241b249cdd8b893f68 Mon Sep 17 00:00:00 2001 From: Yuuichi Asahi Date: Fri, 24 May 2024 14:36:00 +0200 Subject: [PATCH] fix arguments for static 2D View constructor --- algorithms/unit_tests/TestStdAlgorithmsConstraints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/algorithms/unit_tests/TestStdAlgorithmsConstraints.cpp b/algorithms/unit_tests/TestStdAlgorithmsConstraints.cpp index 35ec0a9dd2a..0384981f5d0 100644 --- a/algorithms/unit_tests/TestStdAlgorithmsConstraints.cpp +++ b/algorithms/unit_tests/TestStdAlgorithmsConstraints.cpp @@ -159,7 +159,7 @@ TEST(std_algorithms, expect_no_overlap) { // Iterating over the same range without overlapping Kokkos::View 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, ...