mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-22 08:52:15 +08:00
Fixed cuda code: EIGEN_DEVICE_FUNC must come after template<...>
This commit is contained in:
parent
680d318352
commit
d6f762d955
@ -157,8 +157,8 @@ template<typename _MatrixType> class SelfAdjointEigenSolver
|
|||||||
*
|
*
|
||||||
* \sa compute(const MatrixType&, int)
|
* \sa compute(const MatrixType&, int)
|
||||||
*/
|
*/
|
||||||
EIGEN_DEVICE_FUNC
|
|
||||||
template<typename InputType>
|
template<typename InputType>
|
||||||
|
EIGEN_DEVICE_FUNC
|
||||||
explicit SelfAdjointEigenSolver(const EigenBase<InputType>& matrix, int options = ComputeEigenvectors)
|
explicit SelfAdjointEigenSolver(const EigenBase<InputType>& matrix, int options = ComputeEigenvectors)
|
||||||
: m_eivec(matrix.rows(), matrix.cols()),
|
: m_eivec(matrix.rows(), matrix.cols()),
|
||||||
m_eivalues(matrix.cols()),
|
m_eivalues(matrix.cols()),
|
||||||
@ -198,8 +198,8 @@ template<typename _MatrixType> class SelfAdjointEigenSolver
|
|||||||
*
|
*
|
||||||
* \sa SelfAdjointEigenSolver(const MatrixType&, int)
|
* \sa SelfAdjointEigenSolver(const MatrixType&, int)
|
||||||
*/
|
*/
|
||||||
EIGEN_DEVICE_FUNC
|
|
||||||
template<typename InputType>
|
template<typename InputType>
|
||||||
|
EIGEN_DEVICE_FUNC
|
||||||
SelfAdjointEigenSolver& compute(const EigenBase<InputType>& matrix, int options = ComputeEigenvectors);
|
SelfAdjointEigenSolver& compute(const EigenBase<InputType>& matrix, int options = ComputeEigenvectors);
|
||||||
|
|
||||||
/** \brief Computes eigendecomposition of given matrix using a closed-form algorithm
|
/** \brief Computes eigendecomposition of given matrix using a closed-form algorithm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user