Skip to content

Fix problem with clang-14.0.0 and reference gemm ukr. #854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions ref_kernels/3/bli_gemm_ref.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,15 @@ void PASTEMAC(ch,ch,opname,arch,suf) \
return; \
} \
\
ctype ab[ BLIS_STACK_BUF_MAX_SIZE \
/ sizeof( ctype ) ] \
__attribute__((aligned(BLIS_STACK_BUF_ALIGN_SIZE))); \
const inc_t rs_ab = nr; \
const inc_t cs_ab = 1; \
\
const inc_t rs_a = PASTECH(BLIS_BBM_,ch); \
const inc_t cs_a = PASTECH(BLIS_PACKMR_,ch); \
const inc_t rs_b = PASTECH(BLIS_PACKNR_,ch); \
const inc_t cs_b = PASTECH(BLIS_BBN_,ch); \
char ab_[ BLIS_STACK_BUF_MAX_SIZE ] __attribute__((aligned(BLIS_STACK_BUF_ALIGN_SIZE))) = { 0 }; \
ctype* ab = (ctype*)ab_; \
const inc_t rs_ab = nr; \
const inc_t cs_ab = 1; \
\
const inc_t rs_a = PASTECH(BLIS_BBM_,ch); \
const inc_t cs_a = PASTECH(BLIS_PACKMR_,ch); \
const inc_t rs_b = PASTECH(BLIS_PACKNR_,ch); \
const inc_t cs_b = PASTECH(BLIS_BBN_,ch); \
\
\
/* Initialize the accumulator elements in ab to zero. */ \
Expand Down