aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SVD/BDCSVD.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-11-26 22:29:29 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-11-26 22:29:29 +0100
commit5384e891472e690dc5dabdda014a1e4fc0117691 (patch)
tree47683df7597714aa08552628f71f93af9e9196bc /Eigen/src/SVD/BDCSVD.h
parent8518ba0bbc2ca5a70027ec6c4e6d4aac5218f353 (diff)
Disable MatrixBase::bdcSvd with CUDA (just like MatrixBase::jacobiSvd
Diffstat (limited to 'Eigen/src/SVD/BDCSVD.h')
-rw-r--r--Eigen/src/SVD/BDCSVD.h3
1 files changed, 2 insertions, 1 deletions
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<MatrixType>::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<Derived>::bdcSvd(unsigned int computationOptions) const
{
return BDCSVD<PlainObject>(*this, computationOptions);
}
+#endif
} // end namespace Eigen