Skip to content

Multi-thread Performance Improvement of GEMM with DIVIDE_RATE=1 for A64FX #5353

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
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
4 changes: 4 additions & 0 deletions driver/level3/gemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
#define GEMM_Q 128
#endif

#ifdef GEMM_DIVIDE_RATE
#define DIVIDE_RATE GEMM_DIVIDE_RATE
#endif

#ifdef THREADED_LEVEL3
#include "level3_thread.c"
#else
Expand Down
2 changes: 2 additions & 0 deletions param.h
Original file line number Diff line number Diff line change
Expand Up @@ -3701,6 +3701,8 @@ is a big desktop or server with abundant cache rather than a phone or embedded d

#elif defined(A64FX) // 512-bit SVE

#define GEMM_DIVIDE_RATE 1

#if defined(XDOUBLE) || defined(DOUBLE)
#define GEMM_PREFERED_SIZE 8
#else
Expand Down
Loading