mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-08 17:59:00 +08:00
Fixing compiler error on TensorContractionSycl.h; Silencing the compiler unused parameter warning for eval_op_indices in TensorContraction.h
This commit is contained in:
parent
fbc39fd02c
commit
48a20b7d95
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user