Update Kokkos library in LAMMPS to v3.2
This commit is contained in:
@ -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!");
|
||||
|
||||
Reference in New Issue
Block a user