Skip to content

Commit

Permalink
Merge pull request #4279 from martin-frbg/issue4269
Browse files Browse the repository at this point in the history
Increase the default GEMM buffer size on modern ARM server cpus
  • Loading branch information
martin-frbg authored Oct 31, 2023
2 parents 9d425a5 + 728788f commit 9f7c35a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common_arm64.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,11 @@ static inline int blas_quickdivide(blasint x, blasint y){
#define HUGE_PAGESIZE ( 4 << 20)

#ifndef BUFFERSIZE
#if defined(NEOVERSEN1) || defined(NEOVERSEN2) || defined(NEOVERSEV1) || defined(A64FX) || defined(ARMV8SVE)
#define BUFFER_SIZE (32 << 22)
#else
#define BUFFER_SIZE (32 << 20)
#endif
#else
#define BUFFER_SIZE (32 << BUFFERSIZE)
#endif
Expand Down

0 comments on commit 9f7c35a

Please sign in to comment.