From 4545803963161f7df01475b1577e211f888c4652 Mon Sep 17 00:00:00 2001 From: Yutaka Sawada <60930312+Yutaka-Sawada@users.noreply.github.com> Date: Sat, 30 Nov 2024 11:08:13 +0900 Subject: [PATCH] Comment out a debug output --- source/par2j/lib_opencl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/par2j/lib_opencl.c b/source/par2j/lib_opencl.c index 51212d7..40b2e68 100644 --- a/source/par2j/lib_opencl.c +++ b/source/par2j/lib_opencl.c @@ -1,5 +1,5 @@ // lib_opencl.c -// Copyright : 2024-01-21 Yutaka Sawada +// Copyright : 2024-11-30 Yutaka Sawada // License : GPL #ifndef _WIN32_WINNT @@ -706,7 +706,9 @@ int init_OpenCL(unsigned int unit_size, int *src_max) } if (OpenCL_group_num > data_size){ OpenCL_group_num = data_size; +#ifdef DEBUG_OUTPUT printf("Number of work groups is reduced to %zd\n", OpenCL_group_num); +#endif } // データへのアクセス方法をデバイスによって変える