74 #define A(_m, _n) (PLASMA_Complex32_t *)plasma_geteltaddr(A, ((_m)-1), ((_n)-1), eltsize)
75 #define V(_m) &(V[(_m)-1])
76 #define TAU(_m) &(TAU[(_m)-1])
87 int len1, len2, t1ed, t2st;
111 for (i = ed; i >= st+1 ; i--){
113 *
V(i) = *
A(i, (st-1));
114 *
A(i, (st-1)) = zzero;
115 LAPACKE_clarfg_work( 2,
A((i-1),(st-1)),
V(i), 1,
TAU(i));
121 t2st =
max(t1ed+1,J1);
124 if(len1>0)
CORE_clarfx2(
PlasmaLeft, len1 , *
V(i), conjf(*
TAU(i)),
A(i-1, J1 ),
ELTLDD(vA, (i-1)),
A(i, J1 ),
ELTLDD(vA, i) );
125 if(len2>0)
CORE_clarfx2(
PlasmaLeft, len2 , *
V(i), conjf(*
TAU(i)),
A(i-1, t2st),
ELTLDD(vA, (i-1)),
A(i, t2st),
ELTLDD(vA, i) );
129 for (i = ed; i >= st+1 ; i--){
133 t2st =
max(t1ed+1,J1);
136 if(len1>0)
CORE_clarfx2(
PlasmaRight, len1, conjf(*
V(i)), conjf(*
TAU(i)),
A(J1,i-1),
ELTLDD(vA, J1) ,
A(J1 , i),
ELTLDD(vA, J1) );
137 if(len2>0)
CORE_clarfx2(
PlasmaRight, len2, conjf(*
V(i)), conjf(*
TAU(i)),
A(t2st,i-1),
ELTLDD(vA, t2st),
A(t2st, i),
ELTLDD(vA, t2st) );
143 for (i = ed; i >= st+1 ; i--){
145 *
V(i) = *
A((st-1), i);
146 *
A((st-1), i) = zzero;
147 LAPACKE_clarfg_work( 2,
A((st-1), (i-1)),
V(i), 1,
TAU(i));
153 t2st =
max(t1ed+1,J1);
156 if(len1>0)
CORE_clarfx2(
PlasmaRight, len1, conjf(*
V(i)), conjf(*
TAU(i)),
A(J1,i-1),
ELTLDD(vA, J1) ,
A(J1 , i),
ELTLDD(vA, J1) );
157 if(len2>0)
CORE_clarfx2(
PlasmaRight, len2, conjf(*
V(i)), conjf(*
TAU(i)),
A(t2st,i-1),
ELTLDD(vA, t2st),
A(t2st, i),
ELTLDD(vA, t2st) );
161 for (i = ed; i >= st+1 ; i--){
165 t2st =
max(t1ed+1,J1);
168 if(len1>0)
CORE_clarfx2(
PlasmaLeft, len1 , *
V(i), conjf(*
TAU(i)),
A(i-1, J1 ),
ELTLDD(vA, (i-1)),
A(i, J1 ),
ELTLDD(vA, i) );
169 if(len2>0)
CORE_clarfx2(
PlasmaLeft, len2 , *
V(i), conjf(*
TAU(i)),
A(i-1, t2st),
ELTLDD(vA, (i-1)),
A(i, t2st),
ELTLDD(vA, i) );