Skip to content

Commit 77c638d

Browse files
authored
Revert "Fix potential inaccuracy in multithreaded level3 related to SWITCH_RATIO"
1 parent a64b75a commit 77c638d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/level3/level3_thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ static int gemm_driver(blas_arg_t *args, BLASLONG *range_m, BLASLONG
742742
num_parts = 0;
743743
while (n > 0){
744744
width = blas_quickdivide(n + nthreads - num_parts - 1, nthreads - num_parts);
745-
if (width < switch_ratio && width > 1) {
745+
if (width < switch_ratio) {
746746
width = switch_ratio;
747747
}
748748
width = round_up(n, width, GEMM_PREFERED_SIZE);

0 commit comments

Comments
 (0)