mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +08:00
Fixing compiler warning in TensorBlock.h as it was creating a lot of noise at compilation.
This commit is contained in:
parent
10d286f55b
commit
532a0be05c
@ -89,7 +89,7 @@ EIGEN_STRONG_INLINE void MergeResourceRequirements(
|
|||||||
// policy if block shapes/sizes conflict).
|
// policy if block shapes/sizes conflict).
|
||||||
*block_shape = resources[0].block_shape;
|
*block_shape = resources[0].block_shape;
|
||||||
*block_total_size = resources[0].block_total_size;
|
*block_total_size = resources[0].block_total_size;
|
||||||
for (int i = 1; i < resources.size(); ++i) {
|
for (std::vector<TensorOpResourceRequirements>::size_type i = 1; i < resources.size(); ++i) {
|
||||||
if (resources[i].block_shape == TensorBlockShapeType::kSkewedInnerDims &&
|
if (resources[i].block_shape == TensorBlockShapeType::kSkewedInnerDims &&
|
||||||
*block_shape != TensorBlockShapeType::kSkewedInnerDims) {
|
*block_shape != TensorBlockShapeType::kSkewedInnerDims) {
|
||||||
*block_shape = TensorBlockShapeType::kSkewedInnerDims;
|
*block_shape = TensorBlockShapeType::kSkewedInnerDims;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user