Browse Source

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
tags/v0.3.30
Martin Kroeker GitHub 1 year ago
parent
commit
8b98db13e3
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      kernel/arm64/sbgemv_n_neon.c

+ 0
- 2
kernel/arm64/sbgemv_n_neon.c View File

@@ -480,7 +480,6 @@ int CNAME(BLASLONG m, BLASLONG n, FLOAT alpha, bfloat16 *a, BLASLONG lda,
}

if (m & 2) {
float x0, x1;
x0 = alpha * (BF16_TO_FP32(x_ptr[0]));
x1 = alpha * (BF16_TO_FP32(x_ptr[1]));

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

if (m & 1) {
float x0, x1;
x0 = alpha * BF16_TO_FP32(x_ptr[0]);
x1 = alpha * BF16_TO_FP32(x_ptr[1]);



Loading…
Cancel
Save