Skip to content

Commit ee90f30

Browse files
authored
Increase BUFFERSIZE for POWER8-10 and use same value for POWER6
to fix overflow warning for PWR8 ZGEMM and PWR9 C/ZGEMM and avoid size mismatches in DYNAMIC_ARCH
1 parent ab7f466 commit ee90f30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common_power.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -844,8 +844,8 @@ Lmcount$lazy_ptr:
844844
#define BUFFER_SIZE ( 2 << 20)
845845
#elif defined(PPC440FP2)
846846
#define BUFFER_SIZE ( 16 << 20)
847-
#elif defined(POWER8) || defined(POWER9) || defined(POWER10)
848-
#define BUFFER_SIZE ( 64 << 20)
847+
#elif defined(POWER6) || defined(POWER8) || defined(POWER9) || defined(POWER10)
848+
#define BUFFER_SIZE ( 32 << 22)
849849
#else
850850
#define BUFFER_SIZE ( 16 << 20)
851851
#endif

0 commit comments

Comments
 (0)