108 if (plasma == NULL) {
131 if (LDA <
max(1, Am)) {
135 if (LDB <
max(1, M)) {
139 if (LDC <
max(1, M)) {
145 if (M == 0 || N == 0 ||
162 plasma_cooplap2tile( descA, A, NB, NB, LDA, Am, 0, 0, Am, Am,
164 plasma_cooplap2tile( descB, B, NB, NB, LDB, N, 0, 0, M, N,
166 plasma_cooplap2tile( descC, C, NB, NB, LDC, N, 0, 0, M, N,
176 side, uplo, alpha, &descA, &descB, beta, &descC, sequence, &request);
191 status = sequence->
status;
264 if (plasma == NULL) {
271 status = sequence->
status;
314 if (plasma == NULL) {
318 if (sequence == NULL) {
322 if (request == NULL) {
334 plasma_error(
"PLASMA_chemm_Tile_Async",
"invalid first descriptor");
338 plasma_error(
"PLASMA_chemm_Tile_Async",
"invalid second descriptor");
342 plasma_error(
"PLASMA_chemm_Tile_Async",
"invalid third descriptor");
347 plasma_error(
"PLASMA_chemm_Tile_Async",
"illegal value of side");
351 plasma_error(
"PLASMA_chemm_Tile_Async",
"illegal value of uplo");
356 if ( (descB.
m != descC.
m) || (descB.
n != descC.
n) ) {
357 plasma_error(
"PLASMA_chemm_Tile_Async",
"B and C must have the same size");
360 if ( (descA.
m != descA.
n) ||
363 plasma_error(
"PLASMA_chemm_Tile_Async",
"Matrix A must be square of size M or N regarding side.");
368 if ( (descB.
mb != descC.
mb) || (descB.
nb != descC.
nb) ) {
369 plasma_error(
"PLASMA_chemm_Tile_Async",
"B and C must have the same tile sizes");
372 if ( (descA.
mb != descA.
nb) ||
375 plasma_error(
"PLASMA_chemm_Tile_Async",
"Matrix A must be square with square tiles wich fits the reagding tile size of B and C");
390 if( (descA.
i != 0) || (descA.
j != 0) ||
391 (descB.
i != 0) || (descB.
j != 0) ||
392 (descC.
i != 0) || (descC.
j != 0) ) {
393 plasma_error(
"PLASMA_chemm_Tile_Async",
"Submatrices are not supported for now");
398 if (descC.
m == 0 || descC.
n == 0 ||