git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7932 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2012-03-09 15:20:47 +00:00
parent 1fa9603844
commit b56da63d28
2 changed files with 10 additions and 2 deletions

View File

@ -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)
{

View File

@ -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)
{