Skip to content

Commit 6f9460f

Browse files
authored
Merge pull request #2937 from martin-frbg/pwr-buffersz
Increase and unify BUFFERSIZE on POWER;fix gcc inline warning
2 parents 6c970fa + 1d4c96f commit 6f9460f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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 ( 64 << 22)
849849
#else
850850
#define BUFFER_SIZE ( 16 << 20)
851851
#endif

kernel/power/zgemv_t_4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ static void zgemv_kernel_4x1(BLASLONG n, FLOAT *ap, FLOAT *x, FLOAT *y, FLOAT al
513513

514514
#endif
515515

516-
static __attribute__((always_inline)) void copy_x(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_src) {
516+
static __attribute__((always_inline)) inline void copy_x(BLASLONG n, FLOAT *src, FLOAT *dest, BLASLONG inc_src) {
517517
BLASLONG i;
518518
for (i = 0; i < n; i++) {
519519
*dest = *src;

0 commit comments

Comments
 (0)