debug scale_in ; n_stride
This commit is contained in:
@ -185,7 +185,6 @@ __kernel void k_dpd_charged(const __global numtyp4 *restrict x_,
|
||||
atom_info(t_per_atom,ii,tid,offset);
|
||||
|
||||
__local numtyp sp_cl[4];
|
||||
int n_stride;
|
||||
local_allocate_store_charge();
|
||||
|
||||
sp_cl[0]=sp_cl_in[0];
|
||||
@ -259,8 +258,6 @@ __kernel void k_dpd_charged(const __global numtyp4 *restrict x_,
|
||||
numtyp dot = delx*delvx + dely*delvy + delz*delvz;
|
||||
numtyp wd = (numtyp)1.0 - r/coeff[mtype].w;
|
||||
|
||||
const numtyp qj = extra[j].x;
|
||||
|
||||
unsigned int tag1=itag, tag2=jtag;
|
||||
if (tag1 > tag2) {
|
||||
tag1 = jtag; tag2 = itag;
|
||||
@ -378,7 +375,7 @@ __kernel void k_dpd_charged_fast(const __global numtyp4 *restrict x_,
|
||||
}
|
||||
if (tid<MAX_SHARED_TYPES*MAX_SHARED_TYPES) {
|
||||
coeff[tid]=coeff_in[tid];
|
||||
scale[tid]=scale_in[tid];
|
||||
scale[tid]=cutsq[tid].z;
|
||||
}
|
||||
|
||||
__syncthreads();
|
||||
@ -450,8 +447,6 @@ __kernel void k_dpd_charged_fast(const __global numtyp4 *restrict x_,
|
||||
numtyp dot = delx*delvx + dely*delvy + delz*delvz;
|
||||
numtyp wd = (numtyp)1.0 - r/coeff[mtype].w;
|
||||
|
||||
const numtyp qj = extra[j].x;
|
||||
|
||||
unsigned int tag1=itag, tag2=jtag;
|
||||
if (tag1 > tag2) {
|
||||
tag1 = jtag; tag2 = itag;
|
||||
|
||||
Reference in New Issue
Block a user