diff options
author | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-01-31 14:06:36 +0000 |
---|---|---|
committer | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-01-31 14:06:36 +0000 |
commit | 48a20b7d956433713a39e04d39cba443b7a763de (patch) | |
tree | d829b12fce6406868ccd41fd38b4b529cac7965b /unsupported/Eigen/CXX11/src | |
parent | fbc39fd02c642119a2c49e517e1cd6e8fa1a008f (diff) |
Fixing compiler error on TensorContractionSycl.h; Silencing the compiler unused parameter warning for eval_op_indices in TensorContraction.h
Diffstat (limited to 'unsupported/Eigen/CXX11/src')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h | 7 |
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; }; |