diff options
author | 2013-07-31 15:30:50 +0200 | |
---|---|---|
committer | 2013-07-31 15:30:50 +0200 | |
commit | 6126ad801f89cb88d46ed0dae0d8e9448652c506 (patch) | |
tree | 5b1292c1e39a36b37d7960a529900dea049eb6d2 /Eigen/src/plugins/ArrayCwiseUnaryOps.h | |
parent | 2f593ee67cd2ce995fcf52560daf88774c7c64f2 (diff) |
Extend support for nvcc to Array objects and wrappers
Diffstat (limited to 'Eigen/src/plugins/ArrayCwiseUnaryOps.h')
-rw-r--r-- | Eigen/src/plugins/ArrayCwiseUnaryOps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/plugins/ArrayCwiseUnaryOps.h b/Eigen/src/plugins/ArrayCwiseUnaryOps.h index afb0fb6e3..71a7d4185 100644 --- a/Eigen/src/plugins/ArrayCwiseUnaryOps.h +++ b/Eigen/src/plugins/ArrayCwiseUnaryOps.h @@ -201,6 +201,7 @@ cube() const } #define EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(METHOD_NAME,FUNCTOR) \ + EIGEN_DEVICE_FUNC \ inline const CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >, const Derived> \ METHOD_NAME(const Scalar& s) const { \ return CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >, const Derived> \ |