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