74 #if defined(PLASMA_HAVE_WEAK)
75 #pragma weak CORE_zgetrf_incpiv = PCORE_zgetrf_incpiv
76 #define CORE_zgetrf_incpiv PCORE_zgetrf_incpiv
77 #define CORE_zgessm PCORE_zgessm
104 if ((LDA <
max(1,M)) && (M > 0)) {
110 if ((M == 0) || (N == 0) || (IB == 0))
115 for(i =0 ; i < k; i += IB) {
120 iinfo = LAPACKE_zgetf2_work(LAPACK_COL_MAJOR, M-i, sb, &A[LDA*i+i], LDA, &IPIV[i]);
124 if((*INFO == 0) && (iinfo > 0))
129 M-i, N-(i+sb), sb, sb,
132 &A[LDA*(i+sb)+i], LDA);
135 for(j = i; j < i+sb; j++) {
136 IPIV[j] = i + IPIV[j];
146 int m,
int n,
int ib,
int nb,
154 sizeof(
int), &m,
VALUE,
155 sizeof(
int), &n,
VALUE,
156 sizeof(
int), &ib,
VALUE,
158 sizeof(
int), &lda,
VALUE,
159 sizeof(
int)*nb, IPIV,
OUTPUT,
163 sizeof(
int), &iinfo,
VALUE,
170 #if defined(PLASMA_HAVE_WEAK)
171 #pragma weak CORE_zgetrf_incpiv_quark = PCORE_zgetrf_incpiv_quark
172 #define CORE_zgetrf_incpiv_quark PCORE_zgetrf_incpiv_quark
189 quark_unpack_args_10(quark, m, n, ib, A, lda, IPIV, sequence, request, check_info, iinfo);