aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-06 09:29:59 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-06 09:29:59 -0800
commit33cbdc2d1556336962d5e96aeb5324da4f2f2ff7 (patch)
tree2464cae299167292db06c893992a2cecf8cd2dc8 /unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
parentd27e4f1cbaac8e53218a138ab0c58c1adcf07bae (diff)
Added more missing EIGEN_DEVICE_FUNC
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
index 9773afccf..17d89d5e1 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
@@ -23,6 +23,7 @@ namespace Eigen {
*/
template <typename Index, std::size_t Rank> struct DimensionList {
+ EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE
const Index operator[] (const Index i) const { return i; }
};