diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-07-20 09:47:28 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-07-20 09:47:28 +0200 |
commit | 55d7181557aebe43fb009ff8669f32741e15cfba (patch) | |
tree | 60f538a0d0481ad2e032f5ae8171e3b4996986f1 /Eigen/src/Core/MatrixBase.h | |
parent | cda47c42c23035130488fd9a4437b2c1910d0bab (diff) |
Fix lazyness of operator* with CUDA
Diffstat (limited to 'Eigen/src/Core/MatrixBase.h')
-rw-r--r-- | Eigen/src/Core/MatrixBase.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Eigen/src/Core/MatrixBase.h b/Eigen/src/Core/MatrixBase.h index 908d35dfe..5a2146455 100644 --- a/Eigen/src/Core/MatrixBase.h +++ b/Eigen/src/Core/MatrixBase.h @@ -160,20 +160,11 @@ template<typename Derived> class MatrixBase EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& operator-=(const MatrixBase<OtherDerived>& other); -#ifdef EIGEN_CUDACC template<typename OtherDerived> EIGEN_DEVICE_FUNC - const Product<Derived,OtherDerived,LazyProduct> - operator*(const MatrixBase<OtherDerived> &other) const - { return this->lazyProduct(other); } -#else - - template<typename OtherDerived> const Product<Derived,OtherDerived> operator*(const MatrixBase<OtherDerived> &other) const; -#endif - template<typename OtherDerived> EIGEN_DEVICE_FUNC const Product<Derived,OtherDerived,LazyProduct> |