Merge pull request #5133 from OpenMathLib/revert-4920-issue4917

Revert "Fix potential inaccuracy in multithreaded level3 related to SWITCH_RATIO"
This commit is contained in:
Martin Kroeker
2025-02-16 19:16:43 +01:00
committed by GitHub

View File

@@ -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);