Fix non-Kokkos build
This commit is contained in:
@ -19,14 +19,15 @@
|
||||
|
||||
#ifdef LMP_KOKKOS
|
||||
|
||||
#include "atom_kokkos.h" // IWYU pragma: export
|
||||
#include "comm_brick_kokkos.h" // IWYU pragma: export
|
||||
#include "comm_tiled_kokkos.h" // IWYU pragma: export
|
||||
#include "domain_kokkos.h" // IWYU pragma: export
|
||||
#include "kokkos.h" // IWYU pragma: export
|
||||
#include "memory_kokkos.h" // IWYU pragma: export
|
||||
#include "modify_kokkos.h" // IWYU pragma: export
|
||||
#include "neighbor_kokkos.h" // IWYU pragma: export
|
||||
#include "atom_kokkos.h" // IWYU pragma: export
|
||||
#include "comm_brick_kokkos.h" // IWYU pragma: export
|
||||
#include "comm_brick_direct_kokkos.h" // IWYU pragma: export
|
||||
#include "comm_tiled_kokkos.h" // IWYU pragma: export
|
||||
#include "domain_kokkos.h" // IWYU pragma: export
|
||||
#include "kokkos.h" // IWYU pragma: export
|
||||
#include "memory_kokkos.h" // IWYU pragma: export
|
||||
#include "modify_kokkos.h" // IWYU pragma: export
|
||||
#include "neighbor_kokkos.h" // IWYU pragma: export
|
||||
|
||||
#define LAMMPS_INLINE KOKKOS_INLINE_FUNCTION
|
||||
|
||||
@ -37,6 +38,7 @@
|
||||
|
||||
#include "atom.h"
|
||||
#include "comm_brick.h"
|
||||
#include "comm_brick_direct.h"
|
||||
#include "comm_tiled.h"
|
||||
#include "domain.h"
|
||||
#include "memory.h"
|
||||
@ -74,6 +76,12 @@ class CommBrickKokkos : public CommBrick {
|
||||
CommBrickKokkos(class LAMMPS *lmp) : CommBrick(lmp) {}
|
||||
};
|
||||
|
||||
class CommBrickDirectKokkos : public CommBrickDirect {
|
||||
public:
|
||||
CommBrickDirectKokkos(class LAMMPS *lmp) : CommBrickDirect(lmp) {}
|
||||
CommBrickDirectKokkos(class LAMMPS *lmp, Comm *oldcomm) : CommBrickDirect(lmp, oldcomm) {}
|
||||
};
|
||||
|
||||
class CommTiledKokkos : public CommTiled {
|
||||
public:
|
||||
CommTiledKokkos(class LAMMPS *lmp) : CommTiled(lmp) {}
|
||||
|
||||
@ -22,7 +22,6 @@
|
||||
#include "comm.h"
|
||||
#include "comm_brick.h"
|
||||
#include "comm_brick_direct.h"
|
||||
#include "comm_brick_direct_kokkos.h"
|
||||
#include "comm_tiled.h"
|
||||
#include "command.h"
|
||||
#include "compute.h"
|
||||
|
||||
Reference in New Issue
Block a user