Disable MatrixBase::bdcSvd with CUDA (just like MatrixBase::jacobiSvd

This commit is contained in:
Gael Guennebaud 2014-11-26 22:29:29 +01:00
parent 8518ba0bbc
commit 5384e89147

View File

@ -1152,7 +1152,7 @@ void BDCSVD<MatrixType>::deflation(Index firstCol, Index lastCol, Index k, Index
#endif #endif
}//end deflation }//end deflation
#ifndef __CUDACC__
/** \svd_module /** \svd_module
* *
* \return the singular value decomposition of \c *this computed by Divide & Conquer algorithm * \return the singular value decomposition of \c *this computed by Divide & Conquer algorithm
@ -1165,6 +1165,7 @@ MatrixBase<Derived>::bdcSvd(unsigned int computationOptions) const
{ {
return BDCSVD<PlainObject>(*this, computationOptions); return BDCSVD<PlainObject>(*this, computationOptions);
} }
#endif
} // end namespace Eigen } // end namespace Eigen