Browse Source

Revert "Fix potential inaccuracy in multithreaded level3 related to SWITCH_RATIO"

tags/v0.3.30
Martin Kroeker GitHub 7 months ago
parent
commit
77c638db67
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      driver/level3/level3_thread.c

+ 1
- 1
driver/level3/level3_thread.c View File

@@ -742,7 +742,7 @@ static int gemm_driver(blas_arg_t *args, BLASLONG *range_m, BLASLONG
num_parts = 0; num_parts = 0;
while (n > 0){ while (n > 0){
width = blas_quickdivide(n + nthreads - num_parts - 1, nthreads - num_parts); 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 = switch_ratio;
} }
width = round_up(n, width, GEMM_PREFERED_SIZE); width = round_up(n, width, GEMM_PREFERED_SIZE);


Loading…
Cancel
Save