diff options
author | 2015-07-20 10:53:03 +0200 | |
---|---|---|
committer | 2015-07-20 10:53:03 +0200 | |
commit | 88e352adac535403db3e5e7efa5fa3cb483c5c2e (patch) | |
tree | 0825041d46aa9dc5625f205102bb7d3c40281905 /Eigen/src/Core/VectorwiseOp.h | |
parent | 6799c26cd6d5aba6223de287e7ea7e024c9b8eb1 (diff) |
Add support for replicate in CUDA
Diffstat (limited to 'Eigen/src/Core/VectorwiseOp.h')
-rw-r--r-- | Eigen/src/Core/VectorwiseOp.h | 1 |
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> |