debug scale_in ; n_stride

This commit is contained in:
Eddy Barraud
2024-06-06 09:58:11 +02:00
parent eb7f947a0c
commit 8eefc0d305

View File

@ -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;