From 31f3a887d386536297d6dc6b6d35d5d4a1601495 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Tue, 6 Dec 2016 09:18:54 +0000 Subject: [PATCH] Clarify status in potrf --- compute/pzpotrf.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/compute/pzpotrf.c b/compute/pzpotrf.c index e524b52f0..711bc236e 100644 --- a/compute/pzpotrf.c +++ b/compute/pzpotrf.c @@ -55,12 +55,11 @@ void morse_pzpotrf(MORSE_enum uplo, MORSE_desc_t *A, RUNTIME_options_init(&options, morse, sequence, request); #ifdef CHAMELEON_USE_MAGMA - if (0) /* Disable the workspace as long as it is is not used*/ + if (0) /* Disable the workspace as long as it is is not used (See StarPU codelet) */ { + int nb = MORSE_IB; /* Approximate nb for simulation */ #if !defined(CHAMELEON_SIMULATION) - int nb = magma_get_zpotrf_nb(A->nb); -#else - int nb = A->nb; + nb = magma_get_zpotrf_nb(A->nb); #endif ws_host = sizeof(MORSE_Complex64_t)*nb*nb; } -- GitLab