Skip to content

Commit b3de37c

Browse files
authored
Merge pull request #5683 from martin-frbg/fix_skx_smallgemm
Fix potential over-optimization of the AVX512 small SGEMM kernel by gcc15
2 parents 7a95460 + 79a50d8 commit b3de37c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/x86_64/sgemm_small_kernel_tt_skylakex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ int CNAME(BLASLONG M, BLASLONG N, BLASLONG K, FLOAT * A, BLASLONG lda, FLOAT alp
307307
}
308308
}
309309
if (i < M) {
310-
int index_n[16];
310+
static int index_n[16];
311311
for (int ii = 0; ii < 16; ii++) {
312312
index_n[ii] = ii * ldc;
313313
}

0 commit comments

Comments
 (0)