Merge branch 'master' into last-minute-fixes
This commit is contained in:
@ -1315,3 +1315,13 @@ void CommKokkos::grow_swap(int n)
|
||||
memory->grow(maxsendlist,n,"comm:maxsendlist");
|
||||
for (int i=0;i<maxswap;i++) maxsendlist[i]=size;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
forward communication of N values in per-atom array
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void CommKokkos::forward_comm_array(int nsize, double **array)
|
||||
{
|
||||
k_sendlist.sync<LMPHostType>();
|
||||
CommBrick::forward_comm_array(nsize,array);
|
||||
}
|
||||
|
||||
@ -51,6 +51,8 @@ class CommKokkos : public CommBrick {
|
||||
void forward_comm_dump(class Dump *); // forward comm from a Dump
|
||||
void reverse_comm_dump(class Dump *); // reverse comm from a Dump
|
||||
|
||||
void forward_comm_array(int, double **); // forward comm of array
|
||||
|
||||
template<class DeviceType> void forward_comm_device(int dummy);
|
||||
template<class DeviceType> void reverse_comm_device();
|
||||
template<class DeviceType> void forward_comm_pair_device(Pair *pair);
|
||||
|
||||
@ -44,7 +44,7 @@ class CommBrick : public Comm {
|
||||
virtual void forward_comm_dump(class Dump *); // forward comm from a Dump
|
||||
virtual void reverse_comm_dump(class Dump *); // reverse comm from a Dump
|
||||
|
||||
void forward_comm_array(int, double **); // forward comm of array
|
||||
virtual void forward_comm_array(int, double **); // forward comm of array
|
||||
int exchange_variable(int, double *, double *&); // exchange on neigh stencil
|
||||
void *extract(const char *, int &);
|
||||
virtual double memory_usage();
|
||||
|
||||
Reference in New Issue
Block a user