aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SVD
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-07-31 16:56:31 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-07-31 16:56:31 +0200
commit55b57fcba6e56bea5c084cc756b50a447985e5c2 (patch)
tree6b2cf08245de399f8fc5adaf40afbaf7b7d20521 /Eigen/src/SVD
parent6126ad801f89cb88d46ed0dae0d8e9448652c506 (diff)
Disable some shortcuts with nvcc
Diffstat (limited to 'Eigen/src/SVD')
-rw-r--r--Eigen/src/SVD/JacobiSVD.h2
1 files changed, 2 insertions, 0 deletions
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<JacobiSVD<_MatrixType, QRPreconditioner>, 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<Derived>::jacobiSvd(unsigned int computationOptions) const
{
return JacobiSVD<PlainObject>(*this, computationOptions);
}
+#endif // __CUDACC__
} // end namespace Eigen