git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7932 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -127,7 +127,11 @@ void AtomVecAngleCuda::grow_send(int n,double** buf_send,int flag) //need to be
|
||||
void AtomVecAngleCuda::grow_both(int n)
|
||||
{
|
||||
if(cuda->finished_setup)
|
||||
cuda->downloadAll();
|
||||
{
|
||||
cuda->cu_special->upload();
|
||||
cuda->cu_nspecial->upload();
|
||||
cuda->downloadAll();
|
||||
}
|
||||
AtomVecAngle::grow(n);
|
||||
if(cuda->finished_setup)
|
||||
{
|
||||
|
||||
@ -127,7 +127,11 @@ void AtomVecFullCuda::grow_send(int n,double** buf_send,int flag) //need to be
|
||||
void AtomVecFullCuda::grow_both(int n)
|
||||
{
|
||||
if(cuda->finished_setup)
|
||||
cuda->downloadAll();
|
||||
{
|
||||
cuda->cu_special->upload();
|
||||
cuda->cu_nspecial->upload();
|
||||
cuda->downloadAll();
|
||||
}
|
||||
AtomVecFull::grow(n);
|
||||
if(cuda->finished_setup)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user