Increase the default GEMM buffer size on modern ARM server cpus

This commit is contained in:
Martin Kroeker
2023-10-31 10:26:38 +01:00
committed by GitHub
parent 9d425a5fe7
commit d003ad630b

View File

@@ -162,7 +162,11 @@ REALNAME:
#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