aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h
diff options
context:
space:
mode:
authorGravatar Mehdi Goli <mehdi.goli@codeplay.com>2018-08-03 16:59:15 +0100
committerGravatar Mehdi Goli <mehdi.goli@codeplay.com>2018-08-03 16:59:15 +0100
commit01358300d581f94c842bcdf35266b50f2795ded3 (patch)
tree7fa0714ebafc01c946bc18e3bf09a794d01f91db /unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h
parent62169419aba9048c6c66c71ce4910241e594cbe1 (diff)
Creating separate SYCL required PR for uncontroversial files.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h b/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h
index c8b2fad1e..ea53bb04b 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorTrace.h
@@ -273,11 +273,11 @@ struct TensorEvaluator<const TensorTraceOp<Dims, ArgType>, Device>
Dimensions m_dimensions;
TensorEvaluator<ArgType, Device> m_impl;
+ // Initialize the size of the trace dimension
+ Index m_traceDim;
const Device& m_device;
array<bool, NumInputDims> m_reduced;
array<Index, NumReducedDims> m_reducedDims;
- // Initialize the size of the trace dimension
- Index m_traceDim;
array<Index, NumOutputDims> m_outputStrides;
array<Index, NumReducedDims> m_reducedStrides;
array<Index, NumOutputDims> m_preservedStrides;