aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h
index 828db6d8b..71f086426 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h
@@ -682,6 +682,9 @@ protected:
}
m_can_use_xsmm = true;
+ #else
+ // silence the compiler warning
+ (void) eval_op_indices;
#endif
}
@@ -842,10 +845,6 @@ protected:
TensorEvaluator<EvalRightArgType, Device> m_rightImpl;
const Device& m_device;
Scalar* m_result;
-
- /// required for sycl
- const Indices m_expr_indices;
-
bool m_can_use_xsmm;
};