Update Kokkos library in LAMMPS to v3.2

This commit is contained in:
Stan Moore
2020-08-25 20:21:48 -06:00
parent 450fd12d31
commit 4d90c2b74b
1410 changed files with 19364 additions and 71953 deletions

View File

@ -67,7 +67,7 @@
//
// The first dimension of the View is the dimension over which it is
// efficient for Kokkos to parallelize.
typedef Kokkos::View<double * [3]> view_type;
using view_type = Kokkos::View<double * [3]>;
// parallel_for functor that fills the View given to its constructor.
// The View must already have been allocated.
@ -102,8 +102,8 @@ struct ReduceFunctor {
ReduceFunctor(view_type a_) : a(a_) {}
// If you write a functor to do a reduction, you must specify the
// type of the reduction result via a public 'value_type' typedef.
typedef double value_type;
// type of the reduction result via a public 'value_type' alias.
using value_type = double;
KOKKOS_INLINE_FUNCTION
void operator()(int i, double& lsum) const {