Fixed missing commas in the argument list of the macros in amoeba and hippo cu files, added amoeba_convolution_gpu.cpp and .h to the source file list in GPU.cmake

This commit is contained in:
ndtrung
2022-09-23 11:53:09 -05:00
parent 785131932c
commit 166701f13a
3 changed files with 5 additions and 3 deletions

View File

@ -158,7 +158,7 @@ _texture( q_tex,int2);
fieldp[ii+inum] = fp; \
}
#define store_answers_acc(f,energy,e_coul, virial, ii, inum, tid, t_per_atom \
#define store_answers_acc(f,energy,e_coul, virial, ii, inum, tid, t_per_atom, \
offset, eflag, vflag, ans, engv, ev_stride) \
if (t_per_atom>1) { \
simd_reduce_add3(t_per_atom, red_acc, offset, tid, f.x, f.y, f.z); \

View File

@ -158,7 +158,7 @@ _texture( q_tex,int2);
fieldp[ii+inum] = fp; \
}
#define store_answers_acc(f,energy,e_coul, virial, ii, inum, tid, t_per_atom \
#define store_answers_acc(f,energy,e_coul, virial, ii, inum, tid, t_per_atom, \
offset, eflag, vflag, ans, engv, ev_stride) \
if (t_per_atom>1) { \
simd_reduce_add3(t_per_atom, red_acc, offset, tid, f.x, f.y, f.z); \