From b8ba3da4e29debd754f8474691955e4c34d91d90 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sun, 21 Jan 2024 00:35:36 -0500 Subject: [PATCH] silence a few more compiler warnings --- lib/gpu/lal_hippo.cu | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gpu/lal_hippo.cu b/lib/gpu/lal_hippo.cu index 7de7bd594f..2555b83c9c 100644 --- a/lib/gpu/lal_hippo.cu +++ b/lib/gpu/lal_hippo.cu @@ -1225,7 +1225,9 @@ __kernel void k_hippo_udirect2b(const __global numtyp4 *restrict x_, atom_info(t_per_atom,ii,tid,offset); int n_stride; +#if (SHUFFLE_AVAIL == 0) local_allocate_store_charge(); +#endif acctyp _fieldp[6]; for (int l=0; l<6; l++) _fieldp[l]=(acctyp)0; @@ -1410,7 +1412,9 @@ __kernel void k_hippo_umutual2b(const __global numtyp4 *restrict x_, atom_info(t_per_atom,ii,tid,offset); int n_stride; +#if (SHUFFLE_AVAIL == 0) local_allocate_store_charge(); +#endif acctyp _fieldp[6]; for (int l=0; l<6; l++) _fieldp[l]=(acctyp)0;