Update Kokkos library in LAMMPS to v3.5.0

This commit is contained in:
Stan Gerald Moore
2021-11-04 12:45:59 -06:00
parent 515ef7bece
commit 564098e629
396 changed files with 21892 additions and 8508 deletions

View File

@ -296,7 +296,8 @@ struct TestReducers {
Scalar reference_sum = 0;
for (int i = 0; i < N; i++) {
h_values(i) = (Scalar)(rand() % 100);
int denom = sizeof(Scalar) <= 2 ? 10 : 100;
h_values(i) = (Scalar)(rand() % denom);
reference_sum += h_values(i);
}
Kokkos::deep_copy(values, h_values);