diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-05-25 11:04:14 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-05-25 11:04:14 -0700 |
commit | 58026905ae4a608abac33f59a782beae590a8371 (patch) | |
tree | d85fcd6bc009a0be687b35106fdc0b9ea9d27ae5 /unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | |
parent | ed783872ab9040bab52f7b142458f168f662e3f0 (diff) |
Added support for statically known lists of pairs of indices
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h index bce19bda9..b24cdebf1 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensions.h @@ -29,14 +29,6 @@ namespace Eigen { * \sa Tensor */ -// Can't use std::pair on cuda devices -template <typename Index> struct IndexPair { - EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE IndexPair() : first(0), second(0) { } - EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE IndexPair(Index f, Index s) : first(f), second(s) { } - Index first; - Index second; -}; - // Boilerplate code namespace internal { |