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 Mar 22, 2024
1 parent ba435bf commit 32b4037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/acc/opencl/smm/opencl_libsmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1262,8 +1262,8 @@ int libsmm_acc_process(const int* host_param_stack, const int* dev_param_stack,
0 == new_config.ac ? "" : (1 == slm_c ? "-DSLM_C=1" : "-DSLM_C=2"));
/* apply support for FP-atomics */
if (0 < nchar && (int)sizeof(build_params) > nchar) {
nchar = c_dbcsr_acc_opencl_flags_atomics(&c_dbcsr_acc_opencl_config.device, tkind, extensions,
&nextensions, build_params + nchar, sizeof(build_params) - nchar);
nchar = c_dbcsr_acc_opencl_flags_atomics(&c_dbcsr_acc_opencl_config.device, tkind, extensions, &nextensions,
build_params + nchar, sizeof(build_params) - nchar);
}
else result = EXIT_FAILURE;
if (0 < nchar && (int)sizeof(build_params) > nchar) {
Expand Down

0 comments on commit 32b4037

Please sign in to comment.