Skip to content

Commit

Permalink
Increase BUFFERSIZE for POWER8-10 and use same value for POWER6
Browse files Browse the repository at this point in the history
to fix overflow warning for PWR8 ZGEMM and PWR9 C/ZGEMM and avoid size mismatches in DYNAMIC_ARCH
  • Loading branch information
martin-frbg committed Oct 22, 2020
1 parent ab7f466 commit ee90f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common_power.h
Original file line number Diff line number Diff line change
Expand Up @@ -844,8 +844,8 @@ Lmcount$lazy_ptr:
#define BUFFER_SIZE ( 2 << 20)
#elif defined(PPC440FP2)
#define BUFFER_SIZE ( 16 << 20)
#elif defined(POWER8) || defined(POWER9) || defined(POWER10)
#define BUFFER_SIZE ( 64 << 20)
#elif defined(POWER6) || defined(POWER8) || defined(POWER9) || defined(POWER10)
#define BUFFER_SIZE ( 32 << 22)
#else
#define BUFFER_SIZE ( 16 << 20)
#endif
Expand Down

0 comments on commit ee90f30

Please sign in to comment.