Christian's kokkos patch that allows concurrent host and device threading

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14752 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
stamoor
2016-03-18 14:50:28 +00:00
parent b760ca8038
commit 042f50ac9c
81 changed files with 1282 additions and 527 deletions

View File

@ -650,7 +650,11 @@ void LAMMPS::create()
if (kokkos) atom = new AtomKokkos(this);
else atom = new Atom(this);
atom->create_avec("atomic",0,NULL,1);
if (kokkos)
atom->create_avec("atomic/kk",0,NULL,1);
else
atom->create_avec("atomic",0,NULL,1);
group = new Group(this);
force = new Force(this); // must be after group, to create temperature