From 6d7e977ba93906b37ceaa07314052d902e863547 Mon Sep 17 00:00:00 2001 From: Nathan Ellingwood Date: Tue, 2 Jul 2024 13:06:44 -0600 Subject: [PATCH] Help gcc/8.3 with ctad issue Resolves #2264 Co-authored-by: Carl Pearson --- common/unit_test/Test_Common_AlignPtrTo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/unit_test/Test_Common_AlignPtrTo.hpp b/common/unit_test/Test_Common_AlignPtrTo.hpp index f60887cd80..760cddd5a2 100644 --- a/common/unit_test/Test_Common_AlignPtrTo.hpp +++ b/common/unit_test/Test_Common_AlignPtrTo.hpp @@ -136,7 +136,7 @@ void test_alignPtrTo() { int errs; Kokkos::parallel_reduce( - Kokkos::RangePolicy(space, 0, teamSize), + Kokkos::RangePolicy(space, 0, teamSize), KOKKOS_LAMBDA(int i, int &lerr) { lerr += (results(i) != i); }, errs); // if SYCL is enabled, only TEST_FN 1 and 4 should work