Commit 1432bf39 authored by PRUVOST Florent's avatar PRUVOST Florent

nb must be defined anyway

parent 5ba6000e
......@@ -59,6 +59,8 @@ void morse_pzpotrf(MORSE_enum uplo, MORSE_desc_t *A,
{
#if !defined(CHAMELEON_SIMULATION)
int nb = magma_get_zpotrf_nb(A->nb);
#else
nb = A->nb;
#endif
ws_host = sizeof(MORSE_Complex64_t)*nb*nb;
}
......
......@@ -60,9 +60,11 @@ void morse_pzpotrimm(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B, MORSE_de
#ifdef CHAMELEON_USE_MAGMA
{
#if !defined(CHAMELEON_SIMULATION)
int nb = magma_get_zpotrf_nb(A->nb);
int nb = magma_get_zpotrf_nb(A->nb);
#else
nb = A->nb;
#endif
RUNTIME_options_ws_alloc( &options, nb*nb, 0 );
RUNTIME_options_ws_alloc( &options, nb*nb, 0 );
}
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment