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

@ -66,12 +66,12 @@ struct SharedAllocDestroy {
template <class MemorySpace, class ExecutionSpace>
void test_shared_alloc() {
#if defined(KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST)
typedef const Kokkos::Impl::SharedAllocationHeader Header;
typedef Kokkos::Impl::SharedAllocationTracker Tracker;
typedef Kokkos::Impl::SharedAllocationRecord<void, void> RecordBase;
typedef Kokkos::Impl::SharedAllocationRecord<MemorySpace, void> RecordMemS;
typedef Kokkos::Impl::SharedAllocationRecord<MemorySpace, SharedAllocDestroy>
RecordFull;
using Header = const Kokkos::Impl::SharedAllocationHeader;
using Tracker = Kokkos::Impl::SharedAllocationTracker;
using RecordBase = Kokkos::Impl::SharedAllocationRecord<void, void>;
using RecordMemS = Kokkos::Impl::SharedAllocationRecord<MemorySpace, void>;
using RecordFull =
Kokkos::Impl::SharedAllocationRecord<MemorySpace, SharedAllocDestroy>;
static_assert(sizeof(Tracker) == sizeof(int*),
"SharedAllocationTracker has wrong size!");