From 5ac43f10d00e290ca58c0e49ee7d5067c2f55201 Mon Sep 17 00:00:00 2001 From: Hans Pabst Date: Tue, 26 Aug 2025 14:06:08 +0200 Subject: [PATCH] DBM/OpenCL: fixed condition --- src/dbm/dbm_multiply_opencl.cl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/dbm/dbm_multiply_opencl.cl b/src/dbm/dbm_multiply_opencl.cl index 6ff2304bf9..ccc226c32b 100644 --- a/src/dbm/dbm_multiply_opencl.cl +++ b/src/dbm/dbm_multiply_opencl.cl @@ -111,10 +111,7 @@ dbm_multiply(double alpha, int itask, int ntasks, int size, int param_format, params += (itask + tid) * 3; ibase = 1; } -#if !defined(NDEBUG) - if (m < XM(shape)) -#endif - { /* valid slice (subtask) */ + if (m < XM(shape)) { /* valid slice (subtask) */ b += XB(params, ibase); if (16 <= XK(shape)) { DBM_MULTIPLY(alpha, ibase, params, shape, a, b, c, cvec, m, BN, 16);