aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/VectorwiseOp.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-07-20 10:53:03 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-07-20 10:53:03 +0200
commit88e352adac535403db3e5e7efa5fa3cb483c5c2e (patch)
tree0825041d46aa9dc5625f205102bb7d3c40281905 /Eigen/src/Core/VectorwiseOp.h
parent6799c26cd6d5aba6223de287e7ea7e024c9b8eb1 (diff)
Add support for replicate in CUDA
Diffstat (limited to 'Eigen/src/Core/VectorwiseOp.h')
-rw-r--r--Eigen/src/Core/VectorwiseOp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/VectorwiseOp.h b/Eigen/src/Core/VectorwiseOp.h
index 5ebcdc100..0cc5eff16 100644
--- a/Eigen/src/Core/VectorwiseOp.h
+++ b/Eigen/src/Core/VectorwiseOp.h
@@ -461,6 +461,7 @@ template<typename ExpressionType, int Direction> class VectorwiseOp
*/
// NOTE implemented here because of sunstudio's compilation errors
template<int Factor> const Replicate<ExpressionType,(IsVertical?Factor:1),(IsHorizontal?Factor:1)>
+ EIGEN_DEVICE_FUNC
replicate(Index factor = Factor) const
{
return Replicate<ExpressionType,Direction==Vertical?Factor:1,Direction==Horizontal?Factor:1>