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

This commit is contained in:
sjplimp 2009-09-04 15:03:44 +00:00
parent b67b7cb706
commit b2f19b6560
3 changed files with 7 additions and 0 deletions

View File

@ -116,6 +116,7 @@ __global__ void kernel_pack_nbor_fast(int *dev_nbor, const int nbor_pitch,
form[ii]=_form_(itype,jtype);
}
ii+=INT_MUL(blockIdx.x,blockDim.x)+start;
__syncthreads();
if (ii<inum) {
int *nbor=dev_nbor+ii;

View File

@ -111,6 +111,7 @@ __global__ void kernel_gayberne(const numtyp *gum, const numtyp *special_lj,
if (ii<4)
sp_lj[ii]=special_lj[ii];
ii+=INT_MUL(blockIdx.x,blockDim.x);
__syncthreads();
if (ii<inum) {
@ -410,6 +411,7 @@ __global__ void kernel_sphere_gb(const numtyp *gum, const numtyp *special_lj,
if (ii<4)
sp_lj[ii]=special_lj[ii];
ii+=INT_MUL(blockIdx.x,blockDim.x)+start;
__syncthreads();
if (ii<inum) {
@ -646,6 +648,7 @@ __global__ void kernel_lj(const numtyp *special_lj, const int *dev_nbor,
if (ii<4)
sp_lj[ii]=special_lj[ii];
ii+=INT_MUL(blockIdx.x,blockDim.x)+start;
__syncthreads();
if (ii<inum) {
@ -770,6 +773,7 @@ __global__ void kernel_lj_fast(const numtyp *special_lj, const int *dev_nbor,
}
}
ii+=INT_MUL(blockIdx.x,blockDim.x)+start;
__syncthreads();
if (ii<inum) {

View File

@ -36,6 +36,7 @@ __global__ void kernel_lj(const numtyp *special_lj, const int *dev_nbor,
if (ii<4)
sp_lj[ii]=special_lj[ii];
ii+=INT_MUL(blockIdx.x,blockDim.x);
__syncthreads();
if (ii<inum) {
@ -157,6 +158,7 @@ __global__ void kernel_lj_fast(const numtyp *special_lj, const int *dev_nbor,
}
}
ii+=INT_MUL(blockIdx.x,blockDim.x);
__syncthreads();
if (ii<inum) {