diff --git a/include/cute/stride.hpp b/include/cute/stride.hpp index 92020048..3b44bb20 100644 --- a/include/cute/stride.hpp +++ b/include/cute/stride.hpp @@ -436,6 +436,8 @@ compact_order(Shape const& shape, Order const& order) } else { return v; } + + CUTE_GCC_UNREACHABLE; }); // Replace any dynamic elements within order with large-static elements auto max_seq = make_range{}; @@ -445,6 +447,8 @@ compact_order(Shape const& shape, Order const& order) } else { return seq_v; } + + CUTE_GCC_UNREACHABLE; }); auto new_order = unflatten(ref_order, order);