Skip to content

Commit 8b98db1

Browse files
authored
Merge pull request #5167 from taoye9/fix_sbgemv_n_kernel_typo
fix minior issues of redeclaration of float x0,x1 in sbgemv_n_neon.c
2 parents 217324d + 6b8b35c commit 8b98db1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/arm64/sbgemv_n_neon.c

-2
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,6 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT alpha, bfloat16 *a, BLASLONG lda,
480480
}
481481

482482
if (m & 2) {
483-
float x0, x1;
484483
x0 = alpha * (BF16_TO_FP32(x_ptr[0]));
485484
x1 = alpha * (BF16_TO_FP32(x_ptr[1]));
486485

@@ -496,7 +495,6 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT alpha, bfloat16 *a, BLASLONG lda,
496495
}
497496

498497
if (m & 1) {
499-
float x0, x1;
500498
x0 = alpha * BF16_TO_FP32(x_ptr[0]);
501499
x1 = alpha * BF16_TO_FP32(x_ptr[1]);
502500

0 commit comments

Comments
 (0)