Skip to content

Commit

Permalink
Use pack size to 2^n while testing view_reduction
Browse files Browse the repository at this point in the history
  • Loading branch information
bartgol committed Oct 12, 2022
1 parent 38176bd commit 4c8d649
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/kokkos/kokkos_utils_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,10 @@ TEST_CASE("view_reduction", "[kokkos_utils]")
test_view_reduction<Real,false,false,3,4> ();

// Sum subset of entries, non-zero starting value
test_view_reduction<Real, true,true,16,3> (1.0/3.0,2,11);
test_view_reduction<Real,false,true,16,3> (1.0/3.0,2,11);
test_view_reduction<Real, true,false,16,3> (1.0/3.0,2,11);
test_view_reduction<Real,false,false,16,3> (1.0/3.0,2,11);
test_view_reduction<Real, true,true,18,4> (1.0/3.0,2,11);
test_view_reduction<Real,false,true,18,4> (1.0/3.0,2,11);
test_view_reduction<Real, true,false,18,4> (1.0/3.0,2,11);
test_view_reduction<Real,false,false,18,4> (1.0/3.0,2,11);

}

Expand Down

0 comments on commit 4c8d649

Please sign in to comment.