From 5adcc6c7b48b7a213af91bc123a02ab87751228e Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 7 Feb 2013 19:06:14 +0100 Subject: Add support for NVCC5: most of the Core and part of LU are callable from CUDA code. Still a lot to do. --- Eigen/src/LU/PartialPivLU.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Eigen/src/LU/PartialPivLU.h') diff --git a/Eigen/src/LU/PartialPivLU.h b/Eigen/src/LU/PartialPivLU.h index c9ff9dd5a..9cf1d61d8 100644 --- a/Eigen/src/LU/PartialPivLU.h +++ b/Eigen/src/LU/PartialPivLU.h @@ -469,12 +469,14 @@ struct solve_retval, Rhs> * * \sa class PartialPivLU */ +#ifndef __CUDACC__ template inline const PartialPivLU::PlainObject> MatrixBase::partialPivLu() const { return PartialPivLU(eval()); } +#endif #if EIGEN2_SUPPORT_STAGE > STAGE20_RESOLVE_API_CONFLICTS /** \lu_module @@ -485,6 +487,7 @@ MatrixBase::partialPivLu() const * * \sa class PartialPivLU */ +#ifndef __CUDACC__ template inline const PartialPivLU::PlainObject> MatrixBase::lu() const @@ -493,6 +496,8 @@ MatrixBase::lu() const } #endif +#endif + } // end namespace Eigen #endif // EIGEN_PARTIALLU_H -- cgit v1.2.3