Skip to content

Commit 8238579

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f3640cf commit 8238579

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/acc/libsmm_acc/kernels/smm_acc_dnt_medium.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ __global__ void __launch_bounds__(threads, minblocks) smm_acc_dnt_medium(const i
422422
}
423423
if (need_sync) syncthreads();
424424

425-
/* Add results from shared memory buffer to global C block. */
425+
/* Add results from shared memory buffer to global C block. */
426426
#pragma unroll
427427
for (int i = tidx; i < mn; i += threads) {
428428
atomicAdd(&c_data[srcC + i], buff[i]);

src/acc/libsmm_acc/kernels/smm_acc_dnt_small.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ __global__ void __launch_bounds__(threads, minblocks) smm_acc_dnt_small(const in
114114
nrun = grouping;
115115
if (((bidx + 1) * grouping) > stack_size) nrun = stack_size % grouping;
116116

117-
/* Set the partial sum (tile T) to zero */
117+
/* Set the partial sum (tile T) to zero */
118118
#pragma unroll
119119
for (int i = 0; i < M * N; i++) myc[i] = 0.0;
120120

@@ -203,7 +203,7 @@ __global__ void __launch_bounds__(threads, minblocks) smm_acc_dnt_small(const in
203203

204204
if (need_sync) syncthreads();
205205

206-
/* Add results from shared memory buffer to global C block. */
206+
/* Add results from shared memory buffer to global C block. */
207207
#pragma unroll
208208
for (int i = tidx; i < mn; i += threads) atomicAdd(&c_data[srcC + i], buff[i]);
209209
}

src/acc/opencl/smm/opencl_libsmm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ int opencl_libsmm_read_smm_params(char* parambuf, opencl_libsmm_smmkey_t* key, o
189189
LIBXSMM_MEMZERO127(key); /* potentially heterogeneous key-data (alignment gaps) */
190190
memset(value, 0, sizeof(opencl_libsmm_smm_t));
191191
for (; NULL != s;
192-
++i, s = (c != consumed ? ((s + 1) < end ? strtok((s + 1) + strlen(s), ACC_OPENCL_DELIMS) : NULL) : s), c = consumed)
192+
++i, s = (c != consumed ? ((s + 1) < end ? strtok((s + 1) + strlen(s), ACC_OPENCL_DELIMS) : NULL) : s), c = consumed)
193193
{
194194
switch (i) {
195195
case 0:

0 commit comments

Comments
 (0)