fix stride compilation warning (#1415)
This commit is contained in:
parent
8f7d2789b8
commit
28cbacbf64
@ -436,6 +436,8 @@ compact_order(Shape const& shape, Order const& order)
|
|||||||
} else {
|
} else {
|
||||||
return v;
|
return v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CUTE_GCC_UNREACHABLE;
|
||||||
});
|
});
|
||||||
// Replace any dynamic elements within order with large-static elements
|
// Replace any dynamic elements within order with large-static elements
|
||||||
auto max_seq = make_range<max_order+1, max_order+1+rank(flat_order)>{};
|
auto max_seq = make_range<max_order+1, max_order+1+rank(flat_order)>{};
|
||||||
@ -445,6 +447,8 @@ compact_order(Shape const& shape, Order const& order)
|
|||||||
} else {
|
} else {
|
||||||
return seq_v;
|
return seq_v;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CUTE_GCC_UNREACHABLE;
|
||||||
});
|
});
|
||||||
|
|
||||||
auto new_order = unflatten(ref_order, order);
|
auto new_order = unflatten(ref_order, order);
|
||||||
|
Loading…
Reference in New Issue
Block a user