aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/NoAlias.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2017-08-17 11:51:22 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2017-08-17 11:51:22 +0200
commit687bedfcadc0e30cba63539a2d6b3c2315ea4f0a (patch)
tree155af69e7925aa0bc11118a1d79daecd98d8344b /Eigen/src/Core/NoAlias.h
parent1f4b24d2df6200c1074c2fca45d3905a33c54a3b (diff)
Make NoAlias and JacobiRotation compatible with CUDA.
Diffstat (limited to 'Eigen/src/Core/NoAlias.h')
-rw-r--r--Eigen/src/Core/NoAlias.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/NoAlias.h b/Eigen/src/Core/NoAlias.h
index 33908010b..41fae5096 100644
--- a/Eigen/src/Core/NoAlias.h
+++ b/Eigen/src/Core/NoAlias.h
@@ -33,6 +33,7 @@ class NoAlias
public:
typedef typename ExpressionType::Scalar Scalar;
+ EIGEN_DEVICE_FUNC
explicit NoAlias(ExpressionType& expression) : m_expression(expression) {}
template<typename OtherDerived>