Skip to content

Commit 9c626e4

Browse files
authored
really fix definition of SHUFFLE_MAGIC_NO
1 parent 0698212 commit 9c626e4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

kernel/x86_64/sbgemm_microk_cooperlake_template.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#define ONE 1.e0f
1414
#define ZERO 0.e0f
1515

16+
#define SHUFFLE_MAGIC_NO (const int) 0x39
17+
1618
#undef STORE16_COMPLETE_RESULT
1719
#undef STORE16_MASK_COMPLETE_RESULT
1820
#undef SBGEMM_BLOCK_KERNEL_NN_32x8xK
@@ -356,7 +358,6 @@ void sbgemm_block_kernel_nn_32xNx32_one(BLASLONG m, BLASLONG n, BLASLONG k, floa
356358
bfloat16 * B_addr = B;
357359
float * C_addr = C;
358360

359-
const int SHUFFLE_MAGIC_NO = 0x39;
360361
BLASLONG tag_k_32x = k & (~31);
361362

362363
#ifndef ONE_ALPHA
@@ -465,7 +466,6 @@ void sbgemm_block_kernel_nn_16xNx32_one(BLASLONG m, BLASLONG n, BLASLONG k, floa
465466
bfloat16 * B_addr = B;
466467
float * C_addr = C;
467468

468-
int SHUFFLE_MAGIC_NO = 0x39;
469469
BLASLONG tag_k_32x = k & (~31);
470470

471471
#ifndef ONE_ALPHA
@@ -1192,7 +1192,6 @@ void sbgemm_block_kernel_tn_32xNx32_one(BLASLONG m, BLASLONG n, BLASLONG k, floa
11921192
bfloat16 * B_addr = B;
11931193
float * C_addr = C;
11941194

1195-
int SHUFFLE_MAGIC_NO = 0x39;
11961195
BLASLONG tag_k_32x = k & (~31);
11971196

11981197
#ifndef ONE_ALPHA
@@ -1291,7 +1290,6 @@ void sbgemm_block_kernel_tn_16xNx32_one(BLASLONG m, BLASLONG n, BLASLONG k, floa
12911290
bfloat16 * B_addr = B;
12921291
float * C_addr = C;
12931292

1294-
int SHUFFLE_MAGIC_NO = 0x39;
12951293
BLASLONG tag_k_32x = k & (~31);
12961294

12971295
#ifndef ONE_ALPHA

0 commit comments

Comments
 (0)