Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 1432bf39 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

nb must be defined anyway

parent 5ba6000e
No related branches found
No related tags found
No related merge requests found
...@@ -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;
} }
......
...@@ -60,9 +60,11 @@ void morse_pzpotrimm(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B, MORSE_de ...@@ -60,9 +60,11 @@ void morse_pzpotrimm(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B, MORSE_de
#ifdef CHAMELEON_USE_MAGMA #ifdef CHAMELEON_USE_MAGMA
{ {
#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 );
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment