Update Kokkos library in LAMMPS to v4.6.0
This commit is contained in:
@ -24,6 +24,7 @@ KOKKOS_DEVICES = "OpenMP"
|
||||
KOKKOS_ARCH = "SNB"
|
||||
endif
|
||||
|
||||
KOKKOS_USE_DEPRECATED_MAKEFILES=1
|
||||
|
||||
DEPFLAGS = -M
|
||||
|
||||
|
||||
@ -24,6 +24,7 @@ KOKKOS_DEVICES = "OpenMP"
|
||||
KOKKOS_ARCH = "SNB"
|
||||
endif
|
||||
|
||||
KOKKOS_USE_DEPRECATED_MAKEFILES=1
|
||||
|
||||
DEPFLAGS = -M
|
||||
|
||||
|
||||
@ -24,6 +24,7 @@ KOKKOS_DEVICES = "OpenMP"
|
||||
KOKKOS_ARCH = "SNB"
|
||||
endif
|
||||
|
||||
KOKKOS_USE_DEPRECATED_MAKEFILES=1
|
||||
|
||||
DEPFLAGS = -M
|
||||
|
||||
|
||||
@ -24,6 +24,7 @@ KOKKOS_DEVICES = "OpenMP"
|
||||
KOKKOS_ARCH = "SNB"
|
||||
endif
|
||||
|
||||
KOKKOS_USE_DEPRECATED_MAKEFILES=1
|
||||
|
||||
DEPFLAGS = -M
|
||||
|
||||
|
||||
@ -131,7 +131,7 @@ int main(int narg, char* arg[]) {
|
||||
{
|
||||
ParticleTypes test("Test");
|
||||
Kokkos::fence();
|
||||
test.h_view(0) = ParticleType(-1e4, 1);
|
||||
test.view_host()(0) = ParticleType(-1e4, 1);
|
||||
Kokkos::fence();
|
||||
|
||||
int size = 1000000;
|
||||
@ -146,7 +146,7 @@ int main(int narg, char* arg[]) {
|
||||
|
||||
// Get a reference to the host view of idx directly (equivalent to
|
||||
// idx.view<idx_type::host_mirror_space>() )
|
||||
idx_type::t_host h_idx = idx.h_view;
|
||||
idx_type::t_host h_idx = idx.view_host();
|
||||
using size_type = view_type::size_type;
|
||||
for (int i = 0; i < size; ++i) {
|
||||
for (size_type j = 0; j < static_cast<size_type>(h_idx.extent(1)); ++j) {
|
||||
|
||||
@ -24,6 +24,8 @@ KOKKOS_DEVICES = "OpenMP"
|
||||
KOKKOS_ARCH = "SNB"
|
||||
endif
|
||||
|
||||
KOKKOS_USE_DEPRECATED_MAKEFILES=1
|
||||
|
||||
DEPFLAGS = -M
|
||||
|
||||
OBJ = $(notdir $(SRC:.cpp=.o))
|
||||
|
||||
@ -24,6 +24,7 @@ KOKKOS_DEVICES = "OpenMP"
|
||||
KOKKOS_ARCH = "SNB"
|
||||
endif
|
||||
|
||||
KOKKOS_USE_DEPRECATED_MAKEFILES=1
|
||||
|
||||
DEPFLAGS = -M
|
||||
|
||||
|
||||
@ -24,6 +24,8 @@ KOKKOS_DEVICES = "OpenMP"
|
||||
KOKKOS_ARCH = "SNB"
|
||||
endif
|
||||
|
||||
KOKKOS_USE_DEPRECATED_MAKEFILES=1
|
||||
|
||||
DEPFLAGS = -M
|
||||
|
||||
OBJ = $(notdir $(SRC:.cpp=.o))
|
||||
|
||||
Reference in New Issue
Block a user