78 #if defined(PLASMA_HAVE_WEAK)
79 #pragma weak CORE_ctrdalg = PCORE_ctrdalg
80 #define CORE_ctrdalg PCORE_ctrdalg
84 int i,
int j,
int m,
int grsiz)
87 int myid, colpt, stind, edind, blklastind, stepercol;
94 stepercol = (k*grsiz == shift) ? k : k+1;
95 for (k = 0; k < grsiz; k++){
96 myid = (i-j)*(stepercol*grsiz) +(m-1)*grsiz + k+1;
98 colpt = (myid/2) * NB + 1 + j - 1;
99 stind = colpt - NB + 1;
100 edind =
min(colpt, N);
103 colpt = ((myid+1)/2)*NB + 1 +j -1 ;
105 edind =
min(colpt,N);
106 if( (stind>=edind-1) && (edind==N) )
113 CORE_chbelr(uplo, N, &A, V, TAU, stind, edind, eltsize);
115 CORE_chbrce(uplo, N, &A, V, TAU, stind, edind, eltsize);
117 CORE_chblrx(uplo, N, &A, V, TAU, stind, edind, eltsize);
119 if(blklastind >= (N-1))
break;
132 int i,
int j,
int m,
int grsiz,
int BAND,
133 int *PCOL,
int *ACOL,
int *MCOL)
136 sizeof(
int), &uplo,
VALUE,
137 sizeof(
int), &N,
VALUE,
138 sizeof(
int), &NB,
VALUE,
142 sizeof(
int), &i,
VALUE,
143 sizeof(
int), &j,
VALUE,
144 sizeof(
int), &m,
VALUE,
145 sizeof(
int), &grsiz,
VALUE,
146 sizeof(
int), PCOL,
INPUT,
147 sizeof(
int), ACOL,
INPUT,
156 #if defined(PLASMA_HAVE_WEAK)
157 #pragma weak CORE_ctrdalg_quark = PCORE_ctrdalg_quark
158 #define CORE_ctrdalg_quark PCORE_ctrdalg_quark
169 quark_unpack_args_10(quark, uplo, N, NB, pA, V, TAU, i, j, m, grsiz);