fix up non-KOKKOS case

This commit is contained in:
Axel Kohlmeyer
2023-03-06 22:49:20 -05:00
parent 21b2bf0253
commit 40790f6c45
2 changed files with 10 additions and 5 deletions

View File

@ -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;