Commit efef210b authored by PRUVOST Florent's avatar PRUVOST Florent

chameleon: merge plghe2/plgsy2 routines with plghe/plgsy

parent 857447c1
......@@ -97,9 +97,7 @@ set(ZSRC
pzlaset.c
pzlauum.c
pzplghe.c
pzplghe2.c
pzplgsy.c
pzplgsy2.c
pzplrnt.c
pzpotrf.c
pzsytrf.c
......@@ -135,9 +133,7 @@ set(ZSRC
zlaset.c
zlauum.c
zplghe.c
zplghe2.c
zplgsy.c
zplgsy2.c
zplrnt.c
zposv.c
zsysv.c
......
......@@ -3,7 +3,7 @@
* @copyright (c) 2009-2014 The University of Tennessee and The University
* of Tennessee Research Foundation.
* All rights reserved.
* @copyright (c) 2012-2014 Inria. All rights reserved.
* @copyright (c) 2012-2016 Inria. All rights reserved.
* @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
*
**/
......@@ -17,12 +17,15 @@
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.5.0
* @comment This file has been automatically generated
* @comment This file is a copy from pzplghe.c
* wich has been automatically generated
* from Plasma 2.5.0 for MORSE 1.0.0
* @author Mathieu Faverge
* @author Emmanuel Agullo
* @author Cedric Castagnede
* @date 2010-11-15
* @author Rade Mathis
* @author Florent Pruvost
* @date 2016-08-01
* @precisions normal z -> c
*
**/
......@@ -30,10 +33,11 @@
#define A(m,n) A, m, n
/***************************************************************************//**
* morse_pzplghe - Generate a random hermitian (positive definite if 'bump' is large enough) matrix by tiles.
* morse_pzplghe - Generate a random hermitian (positive definite if 'bump' is large enough) half-matrix by tiles.
**/
void morse_pzplghe( double bump, MORSE_desc_t *A, unsigned long long int seed,
MORSE_sequence_t *sequence, MORSE_request_t *request )
void morse_pzplghe( double bump, MORSE_enum uplo, MORSE_desc_t *A,
unsigned long long int seed,
MORSE_sequence_t *sequence, MORSE_request_t *request )
{
MORSE_context_t *morse;
MORSE_option_t options;
......@@ -48,18 +52,50 @@ void morse_pzplghe( double bump, MORSE_desc_t *A, unsigned long long int seed,
RUNTIME_options_init(&options, morse, sequence, request);
for (m = 0; m < A->mt; m++) {
tempmm = m == A->mt-1 ? A->m-m*A->mb : A->mb;
ldam = BLKLDD(A, m);
tempmm = m == A->mt-1 ? A->m-m*A->mb : A->mb;
ldam = BLKLDD(A, m);
for (n = 0; n < A->nt; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
/*
* MorseLower
*/
if (uplo == MorseLower) {
for (n = 0; n <= m; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
MORSE_TASK_zplghe(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
options.priority = m + n;
MORSE_TASK_zplghe(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
/*
* MorseUpper
*/
else if (uplo == MorseUpper) {
for (n = m; n < A->nt; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
options.priority = m + n;
MORSE_TASK_zplghe(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
/*
* MorseUpperLower
*/
else {
for (n = 0; n < A->nt; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
MORSE_TASK_zplghe(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
}
RUNTIME_options_finalize(&options, morse);
MORSE_TASK_dataflush_all();
......
/**
*
* @copyright (c) 2009-2014 The University of Tennessee and The University
* of Tennessee Research Foundation.
* All rights reserved.
* @copyright (c) 2012-2016 Inria. All rights reserved.
* @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
*
**/
/**
*
* @file pzplghe2.c
*
* MORSE auxiliary routines
* MORSE is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.5.0
* @comment This file is a copy from pzplghe.c
* wich has been automatically generated
* from Plasma 2.5.0 for MORSE 1.0.0
* @author Mathieu Faverge
* @author Emmanuel Agullo
* @author Cedric Castagnede
* @author Rade Mathis
* @date 2016-08-01
* @precisions normal z -> c
*
**/
#include "control/common.h"
#define A(m,n) A, m, n
/***************************************************************************//**
* morse_pzplghe - Generate a random hermitian (positive definite if 'bump' is large enough) half-matrix by tiles.
**/
void morse_pzplghe2( double bump, MORSE_desc_t *A, unsigned long long int seed,
MORSE_enum uplo, MORSE_sequence_t *sequence,
MORSE_request_t *request )
{
MORSE_context_t *morse;
MORSE_option_t options;
int m, n;
int ldam;
int tempmm, tempnn;
morse = morse_context_self();
if (sequence->status != MORSE_SUCCESS)
return;
RUNTIME_options_init(&options, morse, sequence, request);
/*
* MorseLower
*/
if (uplo == MorseLower) {
for (m = 0; m < A->mt; m++) {
tempmm = m == A->mt-1 ? A->m-m*A->mb : A->mb;
ldam = BLKLDD(A, m);
for (n = 0; n <= m; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
options.priority = m + n;
MORSE_TASK_zplghe(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
}
/*
* MorseUpper
*/
else {
for (m = 0; m < A->mt; m++) {
tempmm = m == A->mt-1 ? A->m-m*A->mb : A->mb;
ldam = BLKLDD(A, m);
for (n = m; n < A->nt; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
options.priority = m + n;
MORSE_TASK_zplghe(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
}
RUNTIME_options_finalize(&options, morse);
MORSE_TASK_dataflush_all();
}
......@@ -3,7 +3,7 @@
* @copyright (c) 2009-2014 The University of Tennessee and The University
* of Tennessee Research Foundation.
* All rights reserved.
* @copyright (c) 2012-2014 Inria. All rights reserved.
* @copyright (c) 2012-2016 Inria. All rights reserved.
* @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
*
**/
......@@ -17,12 +17,15 @@
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.5.0
* @comment This file has been automatically generated
* @comment This file is a copy of pzplgsy.c,
wich has been automatically generated
* from Plasma 2.5.0 for MORSE 1.0.0
* @author Mathieu Faverge
* @author Emmanuel Agullo
* @author Cedric Castagnede
* @date 2010-11-15
* @author Rade Mathis
* @author Florent Pruvost
* @date 2016-08-01
* @precisions normal z -> c d s
*
**/
......@@ -30,9 +33,10 @@
#define A(m,n) A, m, n
/***************************************************************************//**
* morse_pzplgsy - Generate a random symmetric (positive definite if 'bump' is large enough) matrix by tiles.
* morse_pzplgsy - Generate a random symmetric (positive definite if 'bump' is large enough) half-matrix by tiles.
**/
void morse_pzplgsy( MORSE_Complex64_t bump, MORSE_desc_t *A, unsigned long long int seed,
void morse_pzplgsy( MORSE_Complex64_t bump, MORSE_enum uplo, MORSE_desc_t *A,
unsigned long long int seed,
MORSE_sequence_t *sequence, MORSE_request_t *request )
{
MORSE_context_t *morse;
......@@ -51,13 +55,46 @@ void morse_pzplgsy( MORSE_Complex64_t bump, MORSE_desc_t *A, unsigned long long
tempmm = m == A->mt-1 ? A->m-m*A->mb : A->mb;
ldam = BLKLDD(A, m);
for (n = 0; n < A->nt; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
/*
* MorseLower
*/
if (uplo == MorseLower) {
for (n = 0; n <= m; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
MORSE_TASK_zplgsy(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
options.priority = m + n;
MORSE_TASK_zplgsy(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
/*
* MorseUpper
*/
else if (uplo == MorseUpper) {
for (n = m; n < A->nt; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
options.priority = m + n;
MORSE_TASK_zplgsy(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
/*
* MorseUpperLower
*/
else {
for (n = 0; n < A->nt; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
MORSE_TASK_zplgsy(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
}
RUNTIME_options_finalize(&options, morse);
......
/**
*
* @copyright (c) 2009-2014 The University of Tennessee and The University
* of Tennessee Research Foundation.
* All rights reserved.
* @copyright (c) 2012-2016 Inria. All rights reserved.
* @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
*
**/
/**
*
* @file pzplgsy2.c
*
* MORSE auxiliary routines
* MORSE is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.5.0
* @comment This file is a copy of pzplgsy.c,
wich has been automatically generated
* from Plasma 2.5.0 for MORSE 1.0.0
* @author Mathieu Faverge
* @author Emmanuel Agullo
* @author Cedric Castagnede
* @author Rade Mathis
* @date 2016-08-01
* @precisions normal z -> c d s
*
**/
#include "control/common.h"
#define A(m,n) A, m, n
/***************************************************************************//**
* morse_pzplgsy2 - Generate a random symmetric (positive definite if 'bump' is large enough) half-matrix by tiles.
**/
void morse_pzplgsy2( MORSE_Complex64_t bump, MORSE_desc_t *A,
unsigned long long int seed, MORSE_enum uplo,
MORSE_sequence_t *sequence, MORSE_request_t *request )
{
MORSE_context_t *morse;
MORSE_option_t options;
int m, n;
int ldam;
int tempmm, tempnn;
morse = morse_context_self();
if (sequence->status != MORSE_SUCCESS)
return;
RUNTIME_options_init(&options, morse, sequence, request);
for (m = 0; m < A->mt; m++) {
tempmm = m == A->mt-1 ? A->m-m*A->mb : A->mb;
ldam = BLKLDD(A, m);
/*
* MorseLower
*/
if (uplo == MorseLower) {
for (n = 0; n <= m; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
options.priority = m + n;
MORSE_TASK_zplgsy(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
/*
* MorseUpper
*/
else {
for (n = m; n < A->nt; n++) {
tempnn = n == A->nt-1 ? A->n-n*A->nb : A->nb;
options.priority = m + n;
MORSE_TASK_zplgsy(
&options,
bump, tempmm, tempnn, A(m, n), ldam,
A->m, m*A->mb, n*A->nb, seed );
}
}
}
RUNTIME_options_finalize(&options, morse);
MORSE_TASK_dataflush_all();
}
......@@ -3,7 +3,7 @@
* @copyright (c) 2009-2014 The University of Tennessee and The University
* of Tennessee Research Foundation.
* All rights reserved.
* @copyright (c) 2012-2014 Inria. All rights reserved.
* @copyright (c) 2012-2016 Inria. All rights reserved.
* @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
*
**/
......@@ -17,12 +17,15 @@
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.5.0
* @comment This file has been automatically generated
* @comment This file is a copy of zplghe.c
* wich has been automatically generated
* from Plasma 2.5.0 for MORSE 1.0.0
* @author Mathieu Faverge
* @author Emmanuel Agullo
* @author Cedric Castagnede
* @date 2010-11-15
* @author Rade Mathis
* @author Florent Pruvost
* @date 2016-08-01
* @precisions normal z -> c
*
**/
......@@ -32,7 +35,7 @@
*
* @ingroup MORSE_Complex64_t
*
* MORSE_zplghe - Generate a random hermitian (positive definite if 'bump' is large enough) matrix by tiles.
* MORSE_zplghe - Generate a random hermitian (positive definite if 'bump' is large enough) half-matrix by tiles.
*
*******************************************************************************
*
......@@ -43,6 +46,9 @@
* @param[in] N
* The order of the matrix A. N >= 0.
*
* @param[in] uplo
* The part of the Matrix wich will be generated.
*
* @param[out] A
* On exit, The random hermitian matrix A generated.
*
......@@ -65,13 +71,12 @@
* @sa MORSE_cplghe
* @sa MORSE_dplghe
* @sa MORSE_splghe
* @sa MORSE_zplrnt
* @sa MORSE_zplgsy
* @sa MORSE_zplghe
*
******************************************************************************/
int MORSE_zplghe( double bump, int N,
MORSE_Complex64_t *A, int LDA,
unsigned long long int seed )
int MORSE_zplghe( double bump, MORSE_enum uplo, int N,
MORSE_Complex64_t *A, int LDA,
unsigned long long int seed )
{
int NB;
int status;
......@@ -112,7 +117,7 @@ int MORSE_zplghe( double bump, int N,
morse_zdesc_alloc(descA, NB, NB, LDA, N, 0, 0, N, N, morse_desc_mat_free(&descA));
/* Call the tile interface */
MORSE_zplghe_Tile_Async( bump, &descA, seed, sequence, &request );
MORSE_zplghe_Tile_Async( bump, uplo, &descA, seed, sequence, &request );
morse_zooptile2lap(descA, A, NB, NB, LDA, N, sequence, &request);
morse_sequence_wait(morse, sequence);
......@@ -128,7 +133,7 @@ int MORSE_zplghe( double bump, int N,
*
* @ingroup MORSE_Complex64_t_Tile
*
* MORSE_zplghe_Tile - Generate a random hermitian (positive definite if 'bump' is large enough) matrix by tiles.
* MORSE_zplghe_Tile - Generate a random hermitian (positive definite if 'bump' is large enough) half-matrix by tiles.
* Tile equivalent of MORSE_zplghe().
* Operates on matrices stored by tiles.
* All matrices are passed through descriptors.
......@@ -140,6 +145,9 @@ int MORSE_zplghe( double bump, int N,
* The value to add to the diagonal to be sure
* to have a positive definite matrix.
*
* @param[in] uplo
* The part of the Matrix wich will be generated.
*
* @param[in] A
* On exit, The random hermitian matrix A generated.
*
......@@ -158,12 +166,11 @@ int MORSE_zplghe( double bump, int N,
* @sa MORSE_cplghe_Tile
* @sa MORSE_dplghe_Tile
* @sa MORSE_splghe_Tile
* @sa MORSE_zplrnt_Tile
* @sa MORSE_zplgsy_Tile
* @sa MORSE_zplghe_Tile
*
******************************************************************************/
int MORSE_zplghe_Tile( double bump, MORSE_desc_t *A,
unsigned long long int seed )
int MORSE_zplghe_Tile( double bump, MORSE_enum uplo, MORSE_desc_t *A,
unsigned long long int seed )
{
MORSE_context_t *morse;
MORSE_sequence_t *sequence = NULL;
......@@ -176,7 +183,7 @@ int MORSE_zplghe_Tile( double bump, MORSE_desc_t *A,
return MORSE_ERR_NOT_INITIALIZED;
}
morse_sequence_create(morse, &sequence);
MORSE_zplghe_Tile_Async( bump, A, seed, sequence, &request );
MORSE_zplghe_Tile_Async( bump, uplo, A, seed, sequence, &request );
morse_sequence_wait(morse, sequence);
status = sequence->status;
morse_sequence_destroy(morse, sequence);
......@@ -187,7 +194,7 @@ int MORSE_zplghe_Tile( double bump, MORSE_desc_t *A,
*
* @ingroup MORSE_Complex64_t_Tile_Async
*
* MORSE_zplghe_Tile_Async - Generate a random hermitian (positive definite if 'bump' is large enough) matrix by tiles.
* MORSE_zplghe_Tile_Async - Generate a random hermitian (positive definite if 'bump' is large enough) half-matrix by tiles.
* Non-blocking equivalent of MORSE_zplghe_Tile().
* May return before the computation is finished.
* Allows for pipelining of operations at runtime.
......@@ -209,14 +216,14 @@ int MORSE_zplghe_Tile( double bump, MORSE_desc_t *A,
* @sa MORSE_dplghe_Tile_Async
* @sa MORSE_splghe_Tile_Async
* @sa MORSE_zplghe_Tile_Async
* @sa MORSE_zplgsy_Tile_Async
*
******************************************************************************/
int MORSE_zplghe_Tile_Async( double bump,
MORSE_desc_t *A,
int MORSE_zplghe_Tile_Async( double bump,
MORSE_enum uplo,
MORSE_desc_t *A,
unsigned long long int seed,
MORSE_sequence_t *sequence,
MORSE_request_t *request)
MORSE_sequence_t *sequence,
MORSE_request_t *request )
{
MORSE_context_t *morse;
......@@ -254,7 +261,7 @@ int MORSE_zplghe_Tile_Async( double bump,
if (min( A->m, A->n ) == 0)
return MORSE_SUCCESS;
morse_pzplghe(bump, A, seed, sequence, request);
morse_pzplghe(bump, uplo, A, seed, sequence, request);
return MORSE_SUCCESS;
}
/**
*
* @copyright (c) 2009-2014 The University of Tennessee and The University
* of Tennessee Research Foundation.
* All rights reserved.
* @copyright (c) 2012-2016 Inria. All rights reserved.
* @copyright (c) 2012-2014 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria, Univ. Bordeaux. All rights reserved.
*
**/
/**
*
* @file zplghe2.c
*
* MORSE computational routines
* MORSE is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.5.0
* @comment This file is a copy of zplghe.c
* wich has been automatically generated
* from Plasma 2.5.0 for MORSE 1.0.0
* @author Mathieu Faverge
* @author Emmanuel Agullo
* @author Cedric Castagnede
* @author Rade Mathis
* @date 2016-08-01
* @precisions normal z -> c
*
**/
#include "control/common.h"
/***************************************************************************//**
*
* @ingroup MORSE_Complex64_t
*
* MORSE_zplghe2 - Generate a random hermitian (positive definite if 'bump' is large enough) half-matrix by tiles.
*
*******************************************************************************
*
* @param[in] bump
* The value to add to the diagonal to be sure
* to have a positive definite matrix.
*
* @param[in] N
* The order of the matrix A. N >= 0.
*
* @param[out] A
* On exit, The random hermitian matrix A generated.
*
* @param[in] LDA
* The leading dimension of the array A. LDA >= max(1,M).
*
* @param[in] seed
* The seed used in the random generation.
*
* @param[in] uplo
* The part of the Matrix wich will be generated.
*
*******************************************************************************
*
* @return
* \retval MORSE_SUCCESS successful exit
* \retval <0 if -i, the i-th argument had an illegal value
*
*******************************************************************************
*
* @sa MORSE_zplghe2_Tile
* @sa MORSE_zplghe2_Tile_Async
* @sa MORSE_cplghe2
* @sa MORSE_dplghe2
* @sa MORSE_splghe2
* @sa MORSE_zplgsy2
*
******************************************************************************/
int MORSE_zplghe2( double bump, int N,
MORSE_Complex64_t *A, int LDA,
unsigned long long int seed, MORSE_enum uplo )
{
int NB;
int status;
MORSE_context_t *morse;
MORSE_sequence_t *sequence = NULL;
MORSE_request_t request = MORSE_REQUEST_INITIALIZER;
MORSE_desc_t descA;
morse = morse_context_self();
if (morse == NULL) {
morse_fatal_error("MORSE_zplghe2", "MORSE not initialized");
return MORSE_ERR_NOT_INITIALIZED;
}
/* Check input arguments */
if (N < 0) {
morse_error("MORSE_zplghe2", "illegal value of N");
return -2;
}
if (LDA < max(1, N)) {
morse_error("MORSE_zplghe2", "illegal value of LDA");
return -4;
}
/* Quick return */
if (max(0, N) == 0)
return MORSE_SUCCESS;
/* Tune NB depending on M, N & NRHS; Set NBNB */
status = morse_tune(MORSE_FUNC_ZGEMM, N, N, 0);
if (status != MORSE_SUCCESS) {
morse_error("MORSE_zplghe2", "morse_tune() failed");
return status;
}
/* Set NT */
NB = MORSE_NB;
morse_sequence_create(morse, &sequence);
morse_zdesc_alloc(descA, NB, NB, LDA, N, 0, 0, N, N, morse_desc_mat_free(&descA));
/* Call the tile interface */
MORSE_zplghe2_Tile_Async( bump, &descA, seed, uplo, sequence, &request );
morse_zooptile2lap(descA, A, NB, NB, LDA, N, sequence, &request);
morse_sequence_wait(morse, sequence);
morse_desc_mat_free(&descA);
status = sequence->status;
morse_sequence_destroy(morse, sequence);
return status;
}
/***************************************************************************//**
*
* @ingroup MORSE_Complex64_t_Tile
*
* MORSE_zplghe2_Tile - Generate a random hermitian (positive definite if 'bump' is large enough) half-matrix by tiles.
* Tile equivalent of MORSE_zplghe2().
* Operates on matrices stored by tiles.
* All matrices are passed through descriptors.
* All dimensions are taken from the descriptors.
*
*******************************************************************************
*
* @param[in] bump
* The value to add to the diagonal to be sure
* to have a positive definite matrix.
*
* @param[in] A
* On exit, The random hermitian matrix A generated.
*
* @param[in] seed
* The seed used in the random generation.
*
* @param[in] uplo
* The part of the Matrix wich will be generated.
*
*******************************************************************************
*
* @return
* \retval MORSE_SUCCESS successful exit
*
*******************************************************************************
*
* @sa MORSE_zplghe2
* @sa MORSE_zplghe2_Tile_Async
* @sa MORSE_cplghe2_Tile
* @sa MORSE_dplghe2_Tile
* @sa MORSE_splghe2_Tile
* @sa MORSE_zplgsy2_Tile
*
******************************************************************************/
int MORSE_zplghe2_Tile( double bump, MORSE_desc_t *A,
unsigned long long int seed, MORSE_enum uplo )
{
MORSE_context_t *morse;
MORSE_sequence_t *sequence = NULL;
MORSE_request_t request = MORSE_REQUEST_INITIALIZER;
int status;
morse = morse_context_self();
if (morse == NULL) {
morse_fatal_error("MORSE_zplghe2_Tile", "MORSE not initialized");
return MORSE_ERR_NOT_INITIALIZED;
}
morse_sequence_create(morse, &sequence);
MORSE_zplghe2_Tile_Async( bump, A, seed, uplo, sequence, &request );
morse_sequence_wait(morse, sequence);
status = sequence->status;
morse_sequence_destroy(morse, sequence);
return status;
}
/***************************************************************************//**
*