Browse Source

fix misleading indentation

tags/v0.3.29
Martin Kroeker GitHub 10 months ago
parent
commit
2332ea7e7a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 7 deletions
  1. +6
    -7
      lapack/getrf/getrf_parallel.c

+ 6
- 7
lapack/getrf/getrf_parallel.c View File

@@ -326,16 +326,15 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *
min_i = m - is; min_i = m - is;
if (min_i >= GEMM_P * 2) { if (min_i >= GEMM_P * 2) {
min_i = GEMM_P; min_i = GEMM_P;
} else
if (min_i > GEMM_P) {
} else if (min_i > GEMM_P) {
min_i = (((min_i + 1) / 2 + GEMM_UNROLL_M - 1)/GEMM_UNROLL_M) * GEMM_UNROLL_M; min_i = (((min_i + 1) / 2 + GEMM_UNROLL_M - 1)/GEMM_UNROLL_M) * GEMM_UNROLL_M;
}
}


ICOPY_OPERATION(k, min_i, a, lda, 0, is, sa);
ICOPY_OPERATION(k, min_i, a, lda, 0, is, sa);


current = mypos;
current = mypos;


do {
do {


div_n = (range_n[current + 1] - range_n[current] + DIVIDE_RATE - 1) / DIVIDE_RATE; div_n = (range_n[current + 1] - range_n[current] + DIVIDE_RATE - 1) / DIVIDE_RATE;


@@ -365,7 +364,7 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *
current ++; current ++;
if (current >= args -> nthreads) current = 0; if (current >= args -> nthreads) current = 0;


} while (current != mypos);
} while (current != mypos);
} }


for (i = 0; i < args -> nthreads; i++) { for (i = 0; i < args -> nthreads; i++) {


Loading…
Cancel
Save