41 #include "control/common.h" 98 unsigned long long int seed,
105 MORSE_context_t *morse;
106 MORSE_sequence_t *sequence = NULL;
107 MORSE_request_t request = MORSE_REQUEST_INITIALIZER;
110 morse = morse_context_self();
112 morse_fatal_error(
"MORSE_zgytlr_Tile",
"morse not initialized");
113 return MORSE_ERR_NOT_INITIALIZED;
115 morse_sequence_create(morse, &sequence);
124 sequence, &request );
125 MORSE_Desc_Flush( AD, sequence );
126 MORSE_Desc_Flush(
AUV, sequence );
127 MORSE_Desc_Flush( Ark, sequence );
128 MORSE_Desc_Flush( Dense, sequence );
129 morse_sequence_wait(morse, sequence);
132 status = sequence->status;
133 morse_sequence_destroy(morse, sequence);
160 unsigned long long int seed,
161 int maxrank,
double tol,
164 MORSE_sequence_t *sequence,
165 MORSE_request_t *request)
167 MORSE_desc_t *
A =
AUV;
169 MORSE_context_t *morse;
171 morse = morse_context_self();
173 morse_fatal_error(
"MORSE_zgytlr_Tile",
"morse not initialized");
174 return MORSE_ERR_NOT_INITIALIZED;
176 if (sequence == NULL) {
177 morse_fatal_error(
"MORSE_zgytlr_Tile",
"NULL sequence");
178 return MORSE_ERR_UNALLOCATED;
180 if (request == NULL) {
181 morse_fatal_error(
"MORSE_zgytlr_Tile",
"NULL request");
182 return MORSE_ERR_UNALLOCATED;
185 if (sequence->status == MORSE_SUCCESS)
186 request->status = MORSE_SUCCESS;
188 return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
191 if (morse_desc_check(
A) != MORSE_SUCCESS) {
192 morse_error(
"MORSE_zgytlr_Tile",
"invalid descriptor");
193 return morse_request_fail(sequence, request, MORSE_ERR_ILLEGAL_VALUE);
202 if (chameleon_min(
A->m,
A->n ) == 0)
203 return MORSE_SUCCESS;
216 return MORSE_SUCCESS;
int HICMA_zgytlr_Tile(MORSE_enum uplo, MORSE_desc_t *AUV, MORSE_desc_t *AD, MORSE_desc_t *Ark, unsigned long long int seed, int maxrank, double tol, int compress_diag, MORSE_desc_t *Dense)
int HICMA_zgytlr_Tile_Async(MORSE_enum uplo, MORSE_desc_t *AUV, MORSE_desc_t *AD, MORSE_desc_t *Ark, unsigned long long int seed, int maxrank, double tol, int compress_diag, MORSE_desc_t *Dense, MORSE_sequence_t *sequence, MORSE_request_t *request)
void hicma_pzgytlr(MORSE_enum uplo, MORSE_desc_t *AUV, MORSE_desc_t *AD, MORSE_desc_t *Ark, unsigned long long int seed, int maxrank, double tol, int compress_diag, MORSE_desc_t *Dense, MORSE_sequence_t *sequence, MORSE_request_t *request)