Skip to content

Commit

Permalink
Merge pull request #5133 from OpenMathLib/revert-4920-issue4917
Browse files Browse the repository at this point in the history
Revert "Fix potential inaccuracy in multithreaded level3 related to SWITCH_RATIO"
  • Loading branch information
martin-frbg authored Feb 16, 2025
2 parents 0b3c569 + 77c638d commit 86cf9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/level3/level3_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ 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 (width < switch_ratio && width > 1) {
if (width < switch_ratio) {
width = switch_ratio;
}
width = round_up(n, width, GEMM_PREFERED_SIZE);
Expand Down

0 comments on commit 86cf9d8

Please sign in to comment.