Fixing compiler error on TensorContractionSycl.h; Silencing the compiler unused parameter warning for eval_op_indices in TensorContraction.h

This commit is contained in:
Mehdi Goli 2017-01-31 14:06:36 +00:00
parent fbc39fd02c
commit 48a20b7d95

View File

@ -682,6 +682,9 @@ protected:
} }
m_can_use_xsmm = true; m_can_use_xsmm = true;
#else
// silence the compiler warning
(void) eval_op_indices;
#endif #endif
} }
@ -842,10 +845,6 @@ protected:
TensorEvaluator<EvalRightArgType, Device> m_rightImpl; TensorEvaluator<EvalRightArgType, Device> m_rightImpl;
const Device& m_device; const Device& m_device;
Scalar* m_result; Scalar* m_result;
/// required for sycl
const Indices m_expr_indices;
bool m_can_use_xsmm; bool m_can_use_xsmm;
}; };