fix up non-KOKKOS case
This commit is contained in:
@ -61,11 +61,6 @@ class KokkosLMP {
|
||||
int neigh_count(int) { return 0; }
|
||||
};
|
||||
|
||||
void kokkos_lmp_finalize()
|
||||
{
|
||||
KokkosLMP::finalize();
|
||||
}
|
||||
|
||||
class AtomKokkos : public Atom {
|
||||
public:
|
||||
tagint **k_special;
|
||||
|
||||
10
src/main.cpp
10
src/main.cpp
@ -32,9 +32,19 @@
|
||||
#include <mdi.h>
|
||||
#endif
|
||||
|
||||
#if defined(LMP_KOKKOS)
|
||||
namespace LAMMPS_NS {
|
||||
extern void kokkos_lmp_finalize();
|
||||
}
|
||||
#else
|
||||
#include "accelerator_kokkos.h"
|
||||
namespace LAMMPS_NS {
|
||||
void kokkos_lmp_finalize()
|
||||
{
|
||||
KokkosLMP::finalize();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user