Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8b2bd36a authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

lacpy: Fix the check of the tile sizes

parent cc3ec1dd
No related branches found
No related tags found
1 merge request!392Map Function: Add an access parameter to be able to generate data out of this function.
......@@ -280,8 +280,8 @@ int CHAMELEON_zlacpy_Tile_Async( cham_uplo_t uplo, CHAM_desc_t *A, CHAM_desc_t *
return chameleon_request_fail(sequence, request, CHAMELEON_ERR_ILLEGAL_VALUE);
}
/* Check input arguments */
if (A->nb != A->mb) {
chameleon_error("CHAMELEON_zlacpy_Tile_Async", "only square tiles supported");
if ((A->mb != B->mb) || (A->nb != B->nb) ){
chameleon_error("CHAMELEON_zlacpy_Tile_Async", "only matching tile sizes supported");
return chameleon_request_fail(sequence, request, CHAMELEON_ERR_ILLEGAL_VALUE);
}
/* Check input arguments */
......
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