18 #define A(m, n) BLKADDR(A, PLASMA_Complex64_t, m, n)
19 #define B(m, n) BLKADDR(B, PLASMA_Complex64_t, m, n)
20 #define C(m, n) BLKADDR(C, PLASMA_Complex64_t, m, n)
40 int ldam, ldak, ldbn, ldbk, ldcm;
51 while (m >= C.
mt && n < C.
nt) {
61 while (next_m >= C.
mt && next_n < C.
nt) {
63 next_m = next_m - C.
mt;
66 X = m == C.
mt-1 ? C.
m - m*C.
mb : C.
mb;
67 Y = n == C.
nt-1 ? C.
n - n*C.
nb : C.
nb;
76 for (k = 0; k < A.
nt; k++) {
77 K = k == A.
nt-1 ? A.
n-k*A.
nb : A.
nb;
79 zbeta = k == 0 ? beta : zone;
85 zbeta,
C(m, n), ldcm);
93 for (k = 0; k < A.
nt; k++) {
94 K = k == A.
nt-1 ? A.
n-k*A.
nb : A.
nb;
95 zbeta = k == 0 ? beta : zone;
101 zbeta,
C(m, n), ldcm);
110 for (k = 0; k < A.
mt; k++) {
111 K = k == A.
mt-1 ? A.
m-k*A.
mb : A.
mb;
114 zbeta = k == 0 ? beta : zone;
118 alpha,
A(k, m), ldak,
120 zbeta,
C(m, n), ldcm);
128 for (k = 0; k < A.
mt; k++) {
129 K = k == A.
mt-1 ? A.
m-k*A.
mb : A.
mb;
131 zbeta = k == 0 ? beta : zone;
135 alpha,
A(k, m), ldak,
137 zbeta,
C(m, n), ldcm);
158 int ldam, ldak, ldbn, ldbk, ldcm;
159 int tempmm, tempnn, tempkn, tempkm;
169 for (m = 0; m < C.
mt; m++) {
170 tempmm = m == C.
mt-1 ? C.
m-m*C.
mb : C.
mb;
172 for (n = 0; n < C.
nt; n++) {
173 tempnn = n == C.
nt-1 ? C.
n-n*C.
nb : C.
nb;
180 for (k = 0; k < A.
nt; k++) {
181 tempkn = k == A.
nt-1 ? A.
n-k*A.
nb : A.
nb;
183 zbeta = k == 0 ? beta : zone;
185 plasma->
quark, &task_flags,
187 tempmm, tempnn, tempkn, A.
mb,
188 alpha, A(m, k), ldam,
190 zbeta,
C(m, n), ldcm);
198 for (k = 0; k < A.
nt; k++) {
199 tempkn = k == A.
nt-1 ? A.
n-k*A.
nb : A.
nb;
200 zbeta = k == 0 ? beta : zone;
202 plasma->
quark, &task_flags,
204 tempmm, tempnn, tempkn, A.
mb,
205 alpha, A(m, k), ldam,
207 zbeta,
C(m, n), ldcm);
216 for (k = 0; k < A.
mt; k++) {
217 tempkm = k == A.
mt-1 ? A.
m-k*A.
mb : A.
mb;
220 zbeta = k == 0 ? beta : zone;
222 plasma->
quark, &task_flags,
224 tempmm, tempnn, tempkm, A.
mb,
225 alpha, A(k, m), ldak,
227 zbeta,
C(m, n), ldcm);
235 for (k = 0; k < A.
mt; k++) {
236 tempkm = k == A.
mt-1 ? A.
m-k*A.
mb : A.
mb;
238 zbeta = k == 0 ? beta : zone;
240 plasma->
quark, &task_flags,
242 tempmm, tempnn, tempkm, A.
mb,
243 alpha, A(k, m), ldak,
245 zbeta,
C(m, n), ldcm);