From e727ec1eace97dfb55bbe2a44c134a5bfbf0ecf1 Mon Sep 17 00:00:00 2001 From: Trung Nguyen Date: Sat, 9 Dec 2023 16:46:10 -0600 Subject: [PATCH] Fixed compiling bugs revealed by CUDA builds, removed unused variables --- lib/gpu/lal_sph_heatconduction.cu | 6 +----- lib/gpu/lal_sph_lj.cu | 24 +++++++++--------------- lib/gpu/lal_sph_taitwater.cu | 10 ---------- 3 files changed, 10 insertions(+), 30 deletions(-) diff --git a/lib/gpu/lal_sph_heatconduction.cu b/lib/gpu/lal_sph_heatconduction.cu index 4cea1433e3..21c936347a 100644 --- a/lib/gpu/lal_sph_heatconduction.cu +++ b/lib/gpu/lal_sph_heatconduction.cu @@ -160,10 +160,6 @@ __kernel void k_sph_heatconduction_fast(const __global numtyp4 *restrict x_, #ifndef ONETYPE __local numtyp4 coeff[MAX_SHARED_TYPES*MAX_SHARED_TYPES]; - __local numtyp sp_lj[4]; - if (tid<4) { - sp_lj[tid]=sp_lj_in[tid]; - } if (tid