Update Kokkos library in LAMMPS to v3.6.0

This commit is contained in:
Stan Gerald Moore
2022-05-05 11:44:47 -06:00
parent bd4bbbddbe
commit b79c0bc7b4
380 changed files with 41928 additions and 8786 deletions

View File

@ -124,6 +124,13 @@ struct TestMDRange_ReduceArray_2D {
parallel_for(range_init, functor); // Init the view to 3's
double sums[array_size];
#ifdef KOKKOS_ENABLE_DEPRECATED_CODE_3
double *sums_ptr = sums;
parallel_reduce(range, functor, sums_ptr);
ASSERT_EQ(sums[0], 6 * N0 * N1);
ASSERT_EQ(sums[1], 3 * N0 * N1);
#endif
Kokkos::fence("Fence before accessing result on the host");
parallel_reduce(range, functor, sums);
// Check output