Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wtq2255 committed Jan 23, 2024
1 parent 20211de commit 25dfb55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vector/flux_vector.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ void __mdot(float *mArr1,float *mArr2,
}

#if (defined HAVE_ACCELERATE) || (defined HAVE_OPENBLAS) || (defined HAVE_MKL)
memset(mArr3, 0, nLength1 * mLength2 * sizeof(float));
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans,
nLength1, mLength2,
mLength1, 1,
Expand Down Expand Up @@ -60,6 +61,7 @@ void __mdot1(float *mArr1,float *mArr2,
}

#if (defined HAVE_ACCELERATE) || (defined HAVE_OPENBLAS) || (defined HAVE_MKL)
memset(mArr3, 0, nLength1 * nLength2 * sizeof(float));
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
nLength1, nLength2,
mLength1, 1,
Expand Down

0 comments on commit 25dfb55

Please sign in to comment.