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

nb must be defined anyway

parent 5ba6000e
...@@ -59,6 +59,8 @@ void morse_pzpotrf(MORSE_enum uplo, MORSE_desc_t *A, ...@@ -59,6 +59,8 @@ void morse_pzpotrf(MORSE_enum uplo, MORSE_desc_t *A,
{ {
#if !defined(CHAMELEON_SIMULATION) #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 #endif
ws_host = sizeof(MORSE_Complex64_t)*nb*nb; ws_host = sizeof(MORSE_Complex64_t)*nb*nb;
} }
......
...@@ -61,6 +61,8 @@ void morse_pzpotrimm(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B, MORSE_de ...@@ -61,6 +61,8 @@ void morse_pzpotrimm(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B, MORSE_de
{ {
#if !defined(CHAMELEON_SIMULATION) #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 #endif
RUNTIME_options_ws_alloc( &options, nb*nb, 0 ); RUNTIME_options_ws_alloc( &options, nb*nb, 0 );
} }
......
Supports Markdown
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