Skip to content

Commit

Permalink
fix regression issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pratiklp00 committed Feb 6, 2025
1 parent c139b63 commit ed00b08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions driver/level3/level3_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ed00b08

Please # to comment.