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

@ -60,8 +60,8 @@ namespace TestCompilerMacros {
template <class DEVICE_TYPE>
struct AddFunctor {
typedef DEVICE_TYPE execution_space;
typedef typename Kokkos::View<int**, execution_space> type;
using execution_space = DEVICE_TYPE;
using type = typename Kokkos::View<int**, execution_space>;
type a, b;
int length;
@ -94,7 +94,7 @@ struct AddFunctor {
template <class DeviceType>
bool Test() {
typedef typename Kokkos::View<int**, DeviceType> type;
using type = typename Kokkos::View<int**, DeviceType>;
type a("A", 1024, 128);
type b("B", 1024, 128);