44 #include "control/common.h" 62 MORSE_context_t *morse;
63 MORSE_sequence_t *sequence = NULL;
64 MORSE_request_t request = MORSE_REQUEST_INITIALIZER;
67 morse = morse_context_self();
69 morse_fatal_error(
"MORSE_zhagdm_Tile",
"morse not initialized");
70 return MORSE_ERR_NOT_INITIALIZED;
72 morse_sequence_create(morse, &sequence);
77 MORSE_Desc_Flush( Dense, sequence );
78 morse_sequence_wait(morse, sequence);
80 status = sequence->status;
81 morse_sequence_destroy(morse, sequence);
104 MORSE_sequence_t *sequence,
105 MORSE_request_t *request)
107 MORSE_context_t *morse;
109 morse = morse_context_self();
111 morse_fatal_error(
"MORSE_zhagdm_Tile",
"morse not initialized");
112 return MORSE_ERR_NOT_INITIALIZED;
114 if (sequence == NULL) {
115 morse_fatal_error(
"MORSE_zhagdm_Tile",
"NULL sequence");
116 return MORSE_ERR_UNALLOCATED;
118 if (request == NULL) {
119 morse_fatal_error(
"MORSE_zhagdm_Tile",
"NULL request");
120 return MORSE_ERR_UNALLOCATED;
123 if (sequence->status == MORSE_SUCCESS)
124 request->status = MORSE_SUCCESS;
126 return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
129 if (morse_desc_check(Dense) != MORSE_SUCCESS) {
130 morse_error(
"MORSE_zhagdm_Tile",
"invalid descriptor");
131 return morse_request_fail(sequence, request, MORSE_ERR_ILLEGAL_VALUE);
140 if (chameleon_min( Dense->m, Dense->n ) == 0)
141 return MORSE_SUCCESS;
148 return MORSE_SUCCESS;
167 MORSE_context_t *morse;
168 MORSE_sequence_t *sequence = NULL;
169 MORSE_request_t request = MORSE_REQUEST_INITIALIZER;
172 morse = morse_context_self();
174 morse_fatal_error(
"MORSE_zhagdm_Tile",
"morse not initialized");
175 return MORSE_ERR_NOT_INITIALIZED;
177 morse_sequence_create(morse, &sequence);
181 sequence, &request );
182 MORSE_Desc_Flush( Dense, sequence );
183 morse_sequence_wait(morse, sequence);
185 status = sequence->status;
186 morse_sequence_destroy(morse, sequence);
210 MORSE_sequence_t *sequence,
211 MORSE_request_t *request)
213 MORSE_context_t *morse;
215 morse = morse_context_self();
217 morse_fatal_error(
"MORSE_zhagdm_Tile",
"morse not initialized");
218 return MORSE_ERR_NOT_INITIALIZED;
220 if (sequence == NULL) {
221 morse_fatal_error(
"MORSE_zhagdm_Tile",
"NULL sequence");
222 return MORSE_ERR_UNALLOCATED;
224 if (request == NULL) {
225 morse_fatal_error(
"MORSE_zhagdm_Tile",
"NULL request");
226 return MORSE_ERR_UNALLOCATED;
229 if (sequence->status == MORSE_SUCCESS)
230 request->status = MORSE_SUCCESS;
232 return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
235 if (morse_desc_check(Dense) != MORSE_SUCCESS) {
236 morse_error(
"MORSE_zhagdm_Tile",
"invalid descriptor");
237 return morse_request_fail(sequence, request, MORSE_ERR_ILLEGAL_VALUE);
246 if (chameleon_min( Dense->m, Dense->n ) == 0)
247 return MORSE_SUCCESS;
254 return MORSE_SUCCESS;
void hicma_pzhagdmdiag(MORSE_enum uplo, MORSE_desc_t *Dense, MORSE_sequence_t *sequence, MORSE_request_t *request)
int HICMA_zhagdmdiag_Tile_Async(MORSE_enum uplo, MORSE_desc_t *Dense, MORSE_sequence_t *sequence, MORSE_request_t *request)
int HICMA_zhagdm_Tile_Async(MORSE_enum uplo, MORSE_desc_t *Dense, MORSE_sequence_t *sequence, MORSE_request_t *request)
void hicma_pzhagdm(MORSE_enum uplo, MORSE_desc_t *Dense, MORSE_sequence_t *sequence, MORSE_request_t *request)
int HICMA_zhagdm_Tile(MORSE_enum uplo, MORSE_desc_t *Dense)
int HICMA_zhagdmdiag_Tile(MORSE_enum uplo, MORSE_desc_t *Dense)