Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
remove alignas
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Apr 17, 2024
1 parent 570a3b0 commit 270e6d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bestla/bestla/kernel_avx2.h
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@ static inline BTLA_CODE gemv_3bit_u8s8_fp32(const utils::GemvParamA& A, const ut
int constexpr UnpackElt = EltPadding / 8 / KTILE;
int constexpr TotalElt = UnpackElt * NTILE * KTILE;
int constexpr Loop128 = TotalElt / 128;
int8_t alignas(32) UnpackBuf[TotalElt];
int8_t UnpackBuf[TotalElt];
for (int i = 0; i < NReg; i++) {
acc[i] = _mm256_setzero_ps();
}
Expand Down Expand Up @@ -1624,7 +1624,7 @@ static inline BTLA_CODE gemv_3bit_s8s8_fp32(const utils::GemvParamA& A, const ut
int constexpr UnpackElt = EltPadding / 8 / KTILE;
int constexpr TotalElt = UnpackElt * NTILE * KTILE;
int constexpr Loop128 = TotalElt / 128;
int8_t alignas(32) UnpackBuf[TotalElt];
int8_t UnpackBuf[TotalElt];
for (int i = 0; i < NReg; i++) {
acc[i] = _mm256_setzero_ps();
}
Expand Down

0 comments on commit 270e6d5

Please sign in to comment.