sytrd_sb2st#
Functions
-
void ssytrd_sb2st(const char *stage1, const char *vect, const char *uplo, const INT n, const INT kd, f32 *AB, const INT ldab, f32 *D, f32 *E, f32 *hous, const INT lhous, f32 *work, const INT lwork, INT *info)#
SSYTRD_SB2ST reduces a real symmetric band matrix
Ato real symmetric tridiagonal form T by an orthogonal similarity transformation:Q**T * A * Q = T.- Further Details:
Implemented by Azzam Haidar.
All details are available on technical report, SC11, SC13 papers.
Azzam Haidar, Hatem Ltaief, and Jack Dongarra. Parallel reduction to condensed forms for symmetric eigenvalue problems using aggregated fine-grained and memory-aware kernels. In Proceedings of 2011 International Conference for High Performance Computing, Networking, Storage and Analysis (SC ‘11), New York, NY, USA, Article 8 , 11 pages. https://doi.org/10.1145/2063384.2063394
A. Haidar, J. Kurzak, P. Luszczek, 2013. An improved parallel singular value algorithm and its implementation for multicore hardware, In Proceedings of 2013 International Conference for High Performance Computing, Networking, Storage and Analysis (SC ‘13). Denver, Colorado, USA, 2013. Article 90, 12 pages. https://doi.org/10.1145/2503210.2503292
A. Haidar, R. Solca, S. Tomov, T. Schulthess and J. Dongarra. A novel hybrid CPU-GPU generalized eigensolver for electronic structure calculations based on fine-grained memory aware tasks. International Journal of High Performance Computing Applications. Volume 28 Issue 2, Pages 196-209, May 2014. https://doi.org/10.1177/1094342013502097
Parameters
instage1'N': “No”: to mention that the stage 1 of the reduction from dense to band using the ssytrd_sy2sb routine was not called before this routine to reproduce AB. In other term this routine is called as standalone.'Y': “Yes”: to mention that the stage 1 of the reduction from dense to band using the ssytrd_sy2sb routine has been called to produce AB (e.g., AB is the output of ssytrd_sy2sb).invect'N': No need for the Householder representation, and thuslhousis of sizemax(1,4*n);'V': the Householder representation is needed to either generate or to apply Q later on, thenlhousis to be queried and computed. (NOT AVAILABLE IN THIS RELEASE).inuplo'U': Upper triangle ofAis stored;'L': Lower triangle ofAis stored.innThe order of the matrix
A.n>=0.inkdThe number of superdiagonals of the matrix
Aifuplo='U', or the number of subdiagonals ifuplo='L'.kd>=0.inoutABOn entry, the upper or lower triangle of the symmetric band matrix A, stored in the first
kd+1rows of the array. The j-th column of A is stored in the j-th column of the arrayABas follows: ifuplo='U',AB[kd+i-j,j]=A[i,j]formax(0,j-kd)<=i<=j; ifuplo='L',AB[i-j,j]=A[i,j]forj<=i<=min(n-1,j+kd). On exit, the diagonal elements ofABare overwritten by the diagonal elements of the tridiagonal matrix T; ifkd>0, the elements on the first superdiagonal (ifuplo='U') or the first subdiagonal (ifuplo='L') are overwritten by the off-diagonal elements of T; the rest ofABis overwritten by values generated during the reduction.inldabThe leading dimension of the array
AB.ldab>=kd+1.outDArray of dimension (
n). The diagonal elements of the tridiagonal matrix T.outEArray of dimension (
n-1). The off-diagonal elements of the tridiagonal matrix T:E[i]=T[i,i+1]ifuplo='U';E[i]=T[i+1,i]ifuplo='L'.outhousArray of dimension (
max(1,lhous)). Stores the Householder representation.inlhousThe dimension of the array
hous. Ifn=0orkd<=1,lhous>=1, elselhous = max(1, dimension). Iflwork=-1, orlhous=-1, then a query is assumed; the routine only calculates the optimal size of thehousarray, returns this value as the first entry of thehousarray.lhous = max(1, dimension)wheredimension = 4*nifvect='N', not available now ifvect='H'.outworkArray of dimension (
max(1,lwork)). On exit, ifinfo=0,work[0]returns the optimallwork.inlworkThe dimension of the array
work. Ifn=0orkd<=1,lwork>=1, elselwork = max(1, dimension). Iflwork=-1, orlhous=-1, then a workspace query is assumed; the routine only calculates the optimal size of theworkarray, returns this value as the first entry of theworkarray.lwork = max(1, dimension)wheredimension = (2*kd+1)*n + kd*NTHREADS, wherekdis the blocking size of the reduction, FACTOPTNB is the blocking used by the QR or LQ algorithm, usually FACTOPTNB=128 is a good choice, NTHREADS is the number of threads used when openMP compilation is enabled, otherwise =1.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void ssytrd_sb2st(
const char* stage1,
const char* vect,
const char* uplo,
const INT n,
const INT kd,
f32* AB,
const INT ldab,
f32* D,
f32* E,
f32* hous,
const INT lhous,
f32* work,
const INT lwork,
INT* info
);
Functions
-
void dsytrd_sb2st(const char *stage1, const char *vect, const char *uplo, const INT n, const INT kd, f64 *AB, const INT ldab, f64 *D, f64 *E, f64 *hous, const INT lhous, f64 *work, const INT lwork, INT *info)#
DSYTRD_SB2ST reduces a real symmetric band matrix
Ato real symmetric tridiagonal form T by an orthogonal similarity transformation:Q**T * A * Q = T.- Further Details:
Implemented by Azzam Haidar.
All details are available on technical report, SC11, SC13 papers.
Azzam Haidar, Hatem Ltaief, and Jack Dongarra. Parallel reduction to condensed forms for symmetric eigenvalue problems using aggregated fine-grained and memory-aware kernels. In Proceedings of 2011 International Conference for High Performance Computing, Networking, Storage and Analysis (SC ‘11), New York, NY, USA, Article 8 , 11 pages. https://doi.org/10.1145/2063384.2063394
A. Haidar, J. Kurzak, P. Luszczek, 2013. An improved parallel singular value algorithm and its implementation for multicore hardware, In Proceedings of 2013 International Conference for High Performance Computing, Networking, Storage and Analysis (SC ‘13). Denver, Colorado, USA, 2013. Article 90, 12 pages. https://doi.org/10.1145/2503210.2503292
A. Haidar, R. Solca, S. Tomov, T. Schulthess and J. Dongarra. A novel hybrid CPU-GPU generalized eigensolver for electronic structure calculations based on fine-grained memory aware tasks. International Journal of High Performance Computing Applications. Volume 28 Issue 2, Pages 196-209, May 2014. https://doi.org/10.1177/1094342013502097
Parameters
instage1'N': “No”: to mention that the stage 1 of the reduction from dense to band using the dsytrd_sy2sb routine was not called before this routine to reproduce AB. In other term this routine is called as standalone.'Y': “Yes”: to mention that the stage 1 of the reduction from dense to band using the dsytrd_sy2sb routine has been called to produce AB (e.g., AB is the output of dsytrd_sy2sb).invect'N': No need for the Householder representation, and thuslhousis of sizemax(1,4*n);'V': the Householder representation is needed to either generate or to apply Q later on, thenlhousis to be queried and computed. (NOT AVAILABLE IN THIS RELEASE).inuplo'U': Upper triangle ofAis stored;'L': Lower triangle ofAis stored.innThe order of the matrix
A.n>=0.inkdThe number of superdiagonals of the matrix
Aifuplo='U', or the number of subdiagonals ifuplo='L'.kd>=0.inoutABOn entry, the upper or lower triangle of the symmetric band matrix A, stored in the first
kd+1rows of the array. The j-th column of A is stored in the j-th column of the arrayABas follows: ifuplo='U',AB[kd+i-j,j]=A[i,j]formax(0,j-kd)<=i<=j; ifuplo='L',AB[i-j,j]=A[i,j]forj<=i<=min(n-1,j+kd). On exit, the diagonal elements ofABare overwritten by the diagonal elements of the tridiagonal matrix T; ifkd>0, the elements on the first superdiagonal (ifuplo='U') or the first subdiagonal (ifuplo='L') are overwritten by the off-diagonal elements of T; the rest ofABis overwritten by values generated during the reduction.inldabThe leading dimension of the array
AB.ldab>=kd+1.outDArray of dimension (
n). The diagonal elements of the tridiagonal matrix T.outEArray of dimension (
n-1). The off-diagonal elements of the tridiagonal matrix T:E[i]=T[i,i+1]ifuplo='U';E[i]=T[i+1,i]ifuplo='L'.outhousArray of dimension (
max(1,lhous)). Stores the Householder representation.inlhousThe dimension of the array
hous. Ifn=0orkd<=1,lhous>=1, elselhous = max(1, dimension). Iflwork=-1, orlhous=-1, then a query is assumed; the routine only calculates the optimal size of thehousarray, returns this value as the first entry of thehousarray.lhous = max(1, dimension)wheredimension = 4*nifvect='N', not available now ifvect='H'.outworkArray of dimension (
max(1,lwork)). On exit, ifinfo=0,work[0]returns the optimallwork.inlworkThe dimension of the array
work. Ifn=0orkd<=1,lwork>=1, elselwork = max(1, dimension). Iflwork=-1, orlhous=-1, then a workspace query is assumed; the routine only calculates the optimal size of theworkarray, returns this value as the first entry of theworkarray.lwork = max(1, dimension)wheredimension = (2*kd+1)*n + kd*NTHREADS, wherekdis the blocking size of the reduction, FACTOPTNB is the blocking used by the QR or LQ algorithm, usually FACTOPTNB=128 is a good choice, NTHREADS is the number of threads used when openMP compilation is enabled, otherwise =1.outinfoinfo=0: successful exitinfo<0: ifinfo=-i, the i-th argument had an illegal value
void dsytrd_sb2st(
const char* stage1,
const char* vect,
const char* uplo,
const INT n,
const INT kd,
f64* AB,
const INT ldab,
f64* D,
f64* E,
f64* hous,
const INT lhous,
f64* work,
const INT lwork,
INT* info
);