Commit 83d965ee authored by Mathieu Faverge's avatar Mathieu Faverge

More for sonarqube

parent c27ce41a
......@@ -277,10 +277,12 @@ int MORSE_zbuild_Tile_Async( MORSE_enum uplo, MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -306,10 +306,12 @@ int MORSE_zgeadd_Tile_Async(MORSE_enum trans,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -254,10 +254,12 @@ int MORSE_zgelqf_Tile_Async(MORSE_desc_t *A, MORSE_desc_t *T,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -251,10 +251,12 @@ int MORSE_zgelqf_param_Tile_Async(const libhqr_tree_t *qrtree, MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -279,10 +279,12 @@ int MORSE_zgelqs_Tile_Async(MORSE_desc_t *A, MORSE_desc_t *T, MORSE_desc_t *B,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -284,10 +284,12 @@ int MORSE_zgelqs_param_Tile_Async(const libhqr_tree_t *qrtree, MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -337,10 +337,12 @@ int MORSE_zgels_Tile_Async(MORSE_enum trans, MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -341,10 +341,12 @@ int MORSE_zgels_param_Tile_Async(const libhqr_tree_t *qrtree, MORSE_enum trans,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -379,10 +379,12 @@ int MORSE_zgemm_Tile_Async(MORSE_enum transA, MORSE_enum transB,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -253,10 +253,12 @@ int MORSE_zgeqrf_Tile_Async(MORSE_desc_t *A, MORSE_desc_t *T,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -260,10 +260,12 @@ int MORSE_zgeqrf_param_Tile_Async(const libhqr_tree_t *qrtree, MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -279,10 +279,12 @@ int MORSE_zgeqrs_Tile_Async(MORSE_desc_t *A, MORSE_desc_t *T, MORSE_desc_t *B,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -276,10 +276,12 @@ int MORSE_zgeqrs_param_Tile_Async(const libhqr_tree_t *qrtree,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -280,10 +280,12 @@ int MORSE_zgesv_incpiv_Tile_Async(MORSE_desc_t *A, MORSE_desc_t *L, int *IPIV, M
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -272,10 +272,12 @@ int MORSE_zgesv_nopiv_Tile_Async(MORSE_desc_t *A, MORSE_desc_t *B,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -429,10 +429,12 @@ int MORSE_zgesvd_Tile_Async(MORSE_enum jobu, MORSE_enum jobvt,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -257,10 +257,12 @@ int MORSE_zgetrf_incpiv_Tile_Async(MORSE_desc_t *A, MORSE_desc_t *L, int *IPIV,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -248,10 +248,12 @@ int MORSE_zgetrf_nopiv_Tile_Async(MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -284,10 +284,12 @@ int MORSE_zgetrs_incpiv_Tile_Async(MORSE_desc_t *A, MORSE_desc_t *L, int *IPIV,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -272,10 +272,12 @@ int MORSE_zgetrs_nopiv_Tile_Async(MORSE_desc_t *A, MORSE_desc_t *B,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -361,10 +361,12 @@ int MORSE_zheevd_Tile_Async( MORSE_enum jobz, MORSE_enum uplo,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -341,10 +341,12 @@ int MORSE_zhemm_Tile_Async(MORSE_enum side, MORSE_enum uplo,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -343,10 +343,12 @@ int MORSE_zher2k_Tile_Async(MORSE_enum uplo, MORSE_enum trans,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -318,10 +318,12 @@ int MORSE_zherk_Tile_Async(MORSE_enum uplo, MORSE_enum trans,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -354,10 +354,12 @@ int MORSE_zhetrd_Tile_Async(MORSE_enum jobz,
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -263,10 +263,12 @@ int MORSE_zlacpy_Tile_Async(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -260,10 +260,12 @@ int MORSE_zlange_Tile_Async(MORSE_enum norm, MORSE_desc_t *A, double *value,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -264,10 +264,12 @@ int MORSE_zlanhe_Tile_Async(MORSE_enum norm, MORSE_enum uplo, MORSE_desc_t *A, d
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -264,10 +264,12 @@ int MORSE_zlansy_Tile_Async(MORSE_enum norm, MORSE_enum uplo, MORSE_desc_t *A, d
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -287,10 +287,12 @@ int MORSE_zlantr_Tile_Async(MORSE_enum norm, MORSE_enum uplo, MORSE_enum diag,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -245,10 +245,12 @@ int MORSE_zlascal_Tile_Async(MORSE_enum uplo,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -254,10 +254,12 @@ int MORSE_zlaset_Tile_Async(MORSE_enum uplo,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -256,10 +256,12 @@ int MORSE_zlauum_Tile_Async(MORSE_enum uplo, MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -253,10 +253,12 @@ int MORSE_zplghe_Tile_Async( double bump,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -255,10 +255,12 @@ int MORSE_zplgsy_Tile_Async( MORSE_Complex64_t bump,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -244,10 +244,12 @@ int MORSE_zplrnt_Tile_Async( MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -297,10 +297,12 @@ int MORSE_zposv_Tile_Async(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -267,10 +267,12 @@ int MORSE_zpotrf_Tile_Async(MORSE_enum uplo, MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -256,10 +256,12 @@ int MORSE_zpotri_Tile_Async(MORSE_enum uplo, MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -278,10 +278,12 @@ int MORSE_zpotrimm_Tile_Async(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -274,10 +274,12 @@ int MORSE_zpotrs_Tile_Async(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -341,10 +341,12 @@ int MORSE_zsymm_Tile_Async(MORSE_enum side, MORSE_enum uplo,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -343,10 +343,12 @@ int MORSE_zsyr2k_Tile_Async(MORSE_enum uplo, MORSE_enum trans,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -318,10 +318,12 @@ int MORSE_zsyrk_Tile_Async(MORSE_enum uplo, MORSE_enum trans,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -288,10 +288,12 @@ int MORSE_zsysv_Tile_Async(MORSE_enum uplo, MORSE_desc_t *A, MORSE_desc_t *B,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......
......@@ -253,10 +253,12 @@ int MORSE_zsytrf_Tile_Async(MORSE_enum uplo, MORSE_desc_t *A,
return MORSE_ERR_UNALLOCATED;
}
/* Check sequence status */
if (sequence->status == MORSE_SUCCESS)
if (sequence->status == MORSE_SUCCESS) {
request->status = MORSE_SUCCESS;
else
}
else {
return morse_request_fail(sequence, request, MORSE_ERR_SEQUENCE_FLUSHED);
}
/* Check descriptors for correctness */
if (morse_desc_check(A) != MORSE_SUCCESS) {
......