Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 25, 2024
1 parent 7504d50 commit f6ee89a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/acc/opencl/acc_opencl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit f6ee89a

Please sign in to comment.