forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11527 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
9ddbac1dd8
commit
001514ada2
|
@ -20,16 +20,15 @@
|
||||||
#ifdef LMP_KOKKOS
|
#ifdef LMP_KOKKOS
|
||||||
|
|
||||||
#include "kokkos.h"
|
#include "kokkos.h"
|
||||||
|
#include "atom_kokkos.h"
|
||||||
|
#include "comm_kokkos.h"
|
||||||
|
#include "modify_kokkos.h"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
// dummy interface to KOKKOS
|
// dummy interface to KOKKOS
|
||||||
// needed for compiling when KOKKOS is not installed
|
// needed for compiling when KOKKOS is not installed
|
||||||
|
|
||||||
//#include "comm.h"
|
|
||||||
//#include "modify.h"
|
|
||||||
//#include "verlet.h"
|
|
||||||
|
|
||||||
namespace LAMMPS_NS {
|
namespace LAMMPS_NS {
|
||||||
|
|
||||||
class KokkosLMP {
|
class KokkosLMP {
|
||||||
|
@ -41,18 +40,18 @@ class KokkosLMP {
|
||||||
void accelerator(int, char **) {}
|
void accelerator(int, char **) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class AtomKokkos : public Atom {
|
||||||
|
public:
|
||||||
|
AtomKokkos(class LAMMPS *lmp) : Atom(lmp) {}
|
||||||
|
~AtomKokkos() {}
|
||||||
|
};
|
||||||
|
|
||||||
class CommKokkos : public Comm {
|
class CommKokkos : public Comm {
|
||||||
public:
|
public:
|
||||||
CommKokkos(class LAMMPS *lmp) : Comm(lmp) {}
|
CommKokkos(class LAMMPS *lmp) : Comm(lmp) {}
|
||||||
~CommKokkos() {}
|
~CommKokkos() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class DomainKokkos : public Domain {
|
|
||||||
public:
|
|
||||||
DomainKokkos(class LAMMPS *lmp) : Domain(lmp) {}
|
|
||||||
~DomainKokkos() {}
|
|
||||||
};
|
|
||||||
|
|
||||||
class NeighborKokkos : public Neighbor {
|
class NeighborKokkos : public Neighbor {
|
||||||
public:
|
public:
|
||||||
NeighborKokkos(class LAMMPS *lmp) : Neighbor(lmp) {}
|
NeighborKokkos(class LAMMPS *lmp) : Neighbor(lmp) {}
|
||||||
|
@ -65,12 +64,6 @@ class ModifyKokkos : public Modify {
|
||||||
~ModifyKokkos() {}
|
~ModifyKokkos() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class VerletKokkos : public Verlet {
|
|
||||||
public:
|
|
||||||
VerletKokkos(class LAMMPS *lmp, int narg, char **arg) : Verlet(lmp,narg,arg) {}
|
|
||||||
~VerletKokkos() {}
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue