Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion driver/level3/syr2k_kernel.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG k, FLOAT alpha_r,

int mm, nn;

mm = (loop & ~(GEMM_UNROLL_MN - 1));
/* Division form works for non-PoT UNROLL_MN (e.g. CORTEXA72 MN=24). */
mm = (loop / GEMM_UNROLL_MN) * GEMM_UNROLL_MN;
nn = MIN(GEMM_UNROLL_MN, n - loop);

#ifndef LOWER
Expand Down
3 changes: 1 addition & 2 deletions kernel/arm64/KERNEL.CORTEXA72
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ include $(KERNELDIR)/KERNEL.CORTEXA57
#
# Stock generic/gemm_{t,n}copy_6.c packs as 4+2, not contiguous MR=6 —
# use the panel packers. NR=8 reuses the asm dgemm_{n,t}copy_8.S.
# No dtrmm_kernel_6x8.S yet; fall back to generic 2x2 for DTRMM.
# Stock generic/trsm_kernel_*.c assumes power-of-2 UNROLL_M; use the
# UNROLLM6-aware kernels (same idea as loongarch64 UNROLLN6).
DGEMMKERNEL = dgemm_kernel_6x8_cortexa72.S
DTRMMKERNEL = ../generic/trmmkernel_2x2.c
DTRMMKERNEL = dtrmm_kernel_6x8_cortexa72.S

DTRSMKERNEL_LN = trsm_kernel_LN_UNROLLM6.c
DTRSMKERNEL_LT = trsm_kernel_LT_UNROLLM6.c
Expand Down
Loading
Loading