From 5384e891472e690dc5dabdda014a1e4fc0117691 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 26 Nov 2014 22:29:29 +0100 Subject: [PATCH] Disable MatrixBase::bdcSvd with CUDA (just like MatrixBase::jacobiSvd --- Eigen/src/SVD/BDCSVD.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Eigen/src/SVD/BDCSVD.h b/Eigen/src/SVD/BDCSVD.h index 498541050..dad59bcca 100644 --- a/Eigen/src/SVD/BDCSVD.h +++ b/Eigen/src/SVD/BDCSVD.h @@ -1152,7 +1152,7 @@ void BDCSVD::deflation(Index firstCol, Index lastCol, Index k, Index #endif }//end deflation - +#ifndef __CUDACC__ /** \svd_module * * \return the singular value decomposition of \c *this computed by Divide & Conquer algorithm @@ -1165,6 +1165,7 @@ MatrixBase::bdcSvd(unsigned int computationOptions) const { return BDCSVD(*this, computationOptions); } +#endif } // end namespace Eigen