From f6ee89a62519a46cef3ef9bc29c8c7e50eafd58b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 14:44:00 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/acc/opencl/acc_opencl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acc/opencl/acc_opencl.c b/src/acc/opencl/acc_opencl.c index 99b1216a257..b2ce349e0e4 100644 --- a/src/acc/opencl/acc_opencl.c +++ b/src/acc/opencl/acc_opencl.c @@ -237,9 +237,9 @@ int c_dbcsr_acc_init(void) { const int async_default = 0; # endif const char* const env_devsplit = getenv("ACC_OPENCL_DEVSPLIT") - /*const char* const env_nranks = getenv("MPI_LOCALNRANKS"); + /*const char* const env_nranks = getenv("MPI_LOCALNRANKS"); const cl_uint nranks = LIBXSMM_MAX(NULL != env_nranks ? atoi(env_nranks) : 1, 1);*/ - const cl_int devsplit = (NULL == env_devsplit ? /*(1 < nranks ? -1 : 0)*/0 : atoi(env_devsplit)); + const cl_int devsplit = (NULL == env_devsplit ? /*(1 < nranks ? -1 : 0)*/ 0 : atoi(env_devsplit)); char* const env_devids = getenv("ACC_OPENCL_DEVIDS"); int device_id = (NULL == env_device ? 0 : atoi(env_device)); const int nlocks = (NULL == env_nlocks ? 1 /*default*/ : atoi(env_nlocks));