Browse Source

fix regression issue

pull/5130/head
pratiklp00 1 year ago
parent
commit
ed00b0853e
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      driver/level3/level3_thread.c

+ 4
- 0
driver/level3/level3_thread.c View File

@@ -742,7 +742,11 @@ static int gemm_driver(blas_arg_t *args, BLASLONG *range_m, BLASLONG
num_parts = 0;
while (n > 0){
width = blas_quickdivide(n + nthreads - num_parts - 1, nthreads - num_parts);
#if defined(POWER)
if (width < switch_ratio ) {
#else
if (width < switch_ratio && width > 1) {
#endif
width = switch_ratio;
}
width = round_up(n, width, GEMM_PREFERED_SIZE);


Loading…
Cancel
Save