From f0a30a8711cb46f7355cf363d6b17066d5ec9860 Mon Sep 17 00:00:00 2001 From: vatican1 Date: Sun, 15 Oct 2023 22:37:23 +0300 Subject: [PATCH] =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=B2=D1=82=D0=BE?= =?UTF-8?q?=D1=80=D0=BE=D0=B3=D0=BE=20=D1=81=D1=83=D0=BC=D0=BC=D0=B8=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main_sum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main_sum.cpp b/src/main_sum.cpp index b89dc56d..242c66d2 100644 --- a/src/main_sum.cpp +++ b/src/main_sum.cpp @@ -98,7 +98,7 @@ int main(int argc, char **argv) unsigned int sum = 0; for (int iter = 0; iter < benchmarkingIters; ++iter) { sum_buffer.writeN(&init, 1); - kernel.exec(gpu::WorkSize(workGroupSize, global_work_size / ("loop_sum" == *it_kernel_name ? 32 : 1)), + kernel.exec(gpu::WorkSize(workGroupSize, global_work_size / ("loop_sum" == *it_kernel_name || "loop_coalesced_sum" == *it_kernel_name ? 32 : 1)), as_buffer, sum_buffer, n); t.nextLap(); }