Fix link error with fix_acks2_reaxff_kokkos

This commit is contained in:
Stan Moore
2021-10-22 19:13:31 +00:00
parent 0901540fda
commit 7960a2d7d2
3 changed files with 4 additions and 5 deletions

View File

@ -1966,7 +1966,7 @@ void FixACKS2ReaxFFKokkos<DeviceType>::get_chi_field()
namespace LAMMPS_NS {
template class FixACKS2ReaxFFKokkos<LMPDeviceType>;
#ifdef KOKKOS_ENABLE_CUDA
#ifdef LMP_KOKKOS_GPU
template class FixACKS2ReaxFFKokkos<LMPHostType>;
#endif
}

View File

@ -299,7 +299,7 @@ struct FixACKS2ReaxFFKokkosComputeHFunctor {
c.template compute_h_team<NEIGHFLAG>(team, atoms_per_team, vector_length);
}
size_t team_shmem_size(int team_size) const {
size_t team_shmem_size(int /*team_size*/) const {
size_t shmem_size =
Kokkos::View<int *, scratch_space, Kokkos::MemoryUnmanaged>::shmem_size(
atoms_per_team) + // s_ilist
@ -347,7 +347,7 @@ struct FixACKS2ReaxFFKokkosComputeXFunctor {
c.template compute_x_team<NEIGHFLAG>(team, atoms_per_team, vector_length);
}
size_t team_shmem_size(int team_size) const {
size_t team_shmem_size(int /*team_size*/) const {
size_t shmem_size =
Kokkos::View<int *, scratch_space, Kokkos::MemoryUnmanaged>::shmem_size(
atoms_per_team) + // s_ilist

View File

@ -30,7 +30,6 @@ FixStyle(qeq/reax/kk/host,FixQEqReaxFFKokkos<LMPHostType>);
#include "kokkos_type.h"
#include "neigh_list.h"
#include "neigh_list_kokkos.h"
#include "kokkos_base.h"
namespace LAMMPS_NS {
@ -42,7 +41,7 @@ struct TagFixQEqReaxFFPackForwardComm {};
struct TagFixQEqReaxFFUnpackForwardComm {};
template<class DeviceType>
class FixQEqReaxFFKokkos : public FixQEqReaxFF, public KokkosBase {
class FixQEqReaxFFKokkos : public FixQEqReaxFF {
public:
typedef DeviceType device_type;
typedef ArrayTypes<DeviceType> AT;