From 2332ea7e7a835c673608ec188c89708a76b6f819 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 6 Nov 2024 18:35:31 +0100 Subject: [PATCH] fix misleading indentation --- lapack/getrf/getrf_parallel.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lapack/getrf/getrf_parallel.c b/lapack/getrf/getrf_parallel.c index fed5c1de5..b6f52ee02 100644 --- a/lapack/getrf/getrf_parallel.c +++ b/lapack/getrf/getrf_parallel.c @@ -326,16 +326,15 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG * min_i = m - is; if (min_i >= GEMM_P * 2) { 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; - } + } - 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; @@ -365,7 +364,7 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG * current ++; if (current >= args -> nthreads) current = 0; - } while (current != mypos); + } while (current != mypos); } for (i = 0; i < args -> nthreads; i++) {