git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15247 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -132,7 +132,7 @@ if (test $1 = 1) then
|
|||||||
|
|
||||||
if (test -e ../Makefile.package) then
|
if (test -e ../Makefile.package) then
|
||||||
sed -i -e 's/[^ \t]*gpu[^ \t]* //' ../Makefile.package
|
sed -i -e 's/[^ \t]*gpu[^ \t]* //' ../Makefile.package
|
||||||
sed -i -e 's|^PKG_PATH =[ \t]*|&-L../../lib/gpu |' ../Makefile.package
|
sed -i -e 's|^PKG_PATH =[ \t]*|&-L../../lib/gpu$(LIBOBJDIR) |' ../Makefile.package
|
||||||
sed -i -e 's|^PKG_LIB =[ \t]*|&-lgpu |' ../Makefile.package
|
sed -i -e 's|^PKG_LIB =[ \t]*|&-lgpu |' ../Makefile.package
|
||||||
sed -i -e 's|^PKG_SYSINC =[ \t]*|&$(gpu_SYSINC) |' ../Makefile.package
|
sed -i -e 's|^PKG_SYSINC =[ \t]*|&$(gpu_SYSINC) |' ../Makefile.package
|
||||||
sed -i -e 's|^PKG_SYSLIB =[ \t]*|&$(gpu_SYSLIB) |' ../Makefile.package
|
sed -i -e 's|^PKG_SYSLIB =[ \t]*|&$(gpu_SYSLIB) |' ../Makefile.package
|
||||||
|
|||||||
@ -115,7 +115,7 @@ void PairSWGPU::compute(int eflag, int vflag)
|
|||||||
numneigh = list->numneigh;
|
numneigh = list->numneigh;
|
||||||
firstneigh = list->firstneigh;
|
firstneigh = list->firstneigh;
|
||||||
|
|
||||||
sw_gpu_compute(neighbor->ago, atom->nlocal, nall, inum+list->gnum,
|
sw_gpu_compute(neighbor->ago, inum, nall, inum+list->gnum,
|
||||||
atom->x, atom->type, ilist, numneigh, firstneigh, eflag,
|
atom->x, atom->type, ilist, numneigh, firstneigh, eflag,
|
||||||
vflag, eflag_atom, vflag_atom, host_start, cpu_time,
|
vflag, eflag_atom, vflag_atom, host_start, cpu_time,
|
||||||
success);
|
success);
|
||||||
|
|||||||
@ -119,7 +119,7 @@ void PairTersoffGPU::compute(int eflag, int vflag)
|
|||||||
numneigh = list->numneigh;
|
numneigh = list->numneigh;
|
||||||
firstneigh = list->firstneigh;
|
firstneigh = list->firstneigh;
|
||||||
|
|
||||||
tersoff_gpu_compute(neighbor->ago, atom->nlocal, nall, inum+list->gnum,
|
tersoff_gpu_compute(neighbor->ago, inum, nall, inum+list->gnum,
|
||||||
atom->x, atom->type, ilist, numneigh, firstneigh, eflag,
|
atom->x, atom->type, ilist, numneigh, firstneigh, eflag,
|
||||||
vflag, eflag_atom, vflag_atom, host_start, cpu_time,
|
vflag, eflag_atom, vflag_atom, host_start, cpu_time,
|
||||||
success);
|
success);
|
||||||
|
|||||||
@ -112,7 +112,7 @@ void PairTersoffMODGPU::compute(int eflag, int vflag)
|
|||||||
numneigh = list->numneigh;
|
numneigh = list->numneigh;
|
||||||
firstneigh = list->firstneigh;
|
firstneigh = list->firstneigh;
|
||||||
|
|
||||||
tersoff_mod_gpu_compute(neighbor->ago, atom->nlocal, nall, inum+list->gnum,
|
tersoff_mod_gpu_compute(neighbor->ago, inum, nall, inum+list->gnum,
|
||||||
atom->x, atom->type, ilist, numneigh, firstneigh, eflag,
|
atom->x, atom->type, ilist, numneigh, firstneigh, eflag,
|
||||||
vflag, eflag_atom, vflag_atom, host_start, cpu_time,
|
vflag, eflag_atom, vflag_atom, host_start, cpu_time,
|
||||||
success);
|
success);
|
||||||
|
|||||||
@ -120,7 +120,7 @@ void PairTersoffZBLGPU::compute(int eflag, int vflag)
|
|||||||
numneigh = list->numneigh;
|
numneigh = list->numneigh;
|
||||||
firstneigh = list->firstneigh;
|
firstneigh = list->firstneigh;
|
||||||
|
|
||||||
tersoff_zbl_gpu_compute(neighbor->ago, atom->nlocal, nall, inum+list->gnum,
|
tersoff_zbl_gpu_compute(neighbor->ago, inum, nall, inum+list->gnum,
|
||||||
atom->x, atom->type, ilist, numneigh, firstneigh, eflag,
|
atom->x, atom->type, ilist, numneigh, firstneigh, eflag,
|
||||||
vflag, eflag_atom, vflag_atom, host_start, cpu_time,
|
vflag, eflag_atom, vflag_atom, host_start, cpu_time,
|
||||||
success);
|
success);
|
||||||
|
|||||||
Reference in New Issue
Block a user