git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11521 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -43,6 +43,7 @@
|
||||
#include "special.h"
|
||||
#include "variable.h"
|
||||
#include "accelerator_cuda.h"
|
||||
#include "accelerator_kokkos.h"
|
||||
#include "error.h"
|
||||
#include "memory.h"
|
||||
|
||||
@ -1389,6 +1390,11 @@ void Input::package()
|
||||
delete [] fixarg;
|
||||
force->newton_pair = 0;
|
||||
|
||||
} else if (strcmp(arg[0],"kokkos") == 0) {
|
||||
if (!lmp->kokkos)
|
||||
error->all(FLERR,"Package kokkos command without KOKKOS installed");
|
||||
lmp->kokkos->accelerator(narg-1,&arg[1]);
|
||||
|
||||
} else if (strcmp(arg[0],"omp") == 0) {
|
||||
char **fixarg = new char*[2+narg];
|
||||
fixarg[0] = (char *) "package_omp";
|
||||
|
||||
Reference in New Issue
Block a user