Skip to content

Commit da946eb

Browse files
committed
Rename heevx params
1 parent e9578fd commit da946eb

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

source/source_hsolver/kernels/hegvd_op.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,14 @@ struct heevx_op
119119
///
120120
/// Input Parameters
121121
/// @param d : the type of device
122-
/// @param nstart : the number of cols of the matrix
123-
/// @param ldh : the number of rows of the matrix
124-
/// @param A : the hermitian matrix A in A x=lambda B x (row major)
122+
/// @param ndim : the size of square matrix
123+
/// @param lda : leading dimension of the matrix
124+
/// @param A : the hermitian matrix A in A x=lambda x
125+
/// @param neig : the number of eigenpairs to be calculated
125126
/// Output Parameter
126-
/// @param W : calculated eigenvalues
127-
/// @param V : calculated eigenvectors (row major)
128-
void operator()(const Device* d, const int nstart, const int ldh, const T* A, const int m, Real* W, T* V);
127+
/// @param w: calculated eigenvalues
128+
/// @param z: calculated eigenvectors
129+
void operator()(const Device *d, const int ndim, const int lda, const T *A, const int neig, Real *w, T *z);
129130
};
130131

131132
#if __CUDA || __UT_USE_CUDA || __ROCM || __UT_USE_ROCM

0 commit comments

Comments
 (0)