From 55b57fcba6e56bea5c084cc756b50a447985e5c2 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 31 Jul 2013 16:56:31 +0200 Subject: Disable some shortcuts with nvcc --- Eigen/src/SVD/JacobiSVD.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Eigen/src/SVD') diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h index 9fd9de669..7bedb02e9 100644 --- a/Eigen/src/SVD/JacobiSVD.h +++ b/Eigen/src/SVD/JacobiSVD.h @@ -860,6 +860,7 @@ struct solve_retval, Rhs> }; } // end namespace internal +#ifndef __CUDACC__ /** \svd_module * * \return the singular value decomposition of \c *this computed by two-sided @@ -873,6 +874,7 @@ MatrixBase::jacobiSvd(unsigned int computationOptions) const { return JacobiSVD(*this, computationOptions); } +#endif // __CUDACC__ } // end namespace Eigen -- cgit v1.2.3