Test build time improvements.

This commit is contained in:
Vidyasagar Ananthan
2026-01-12 18:40:06 +00:00
parent aad4cf0985
commit ee8b4cf26f
3 changed files with 63 additions and 23 deletions

View File

@@ -38,6 +38,7 @@
#include "ck_tile/core/container/meta_data_buffer.hpp"
#include "ck_tile/core/container/multi_index.hpp"
#include "ck_tile/core/container/sequence.hpp"
#include "ck_tile/core/container/sequence_optimized.hpp"
#include "ck_tile/core/container/span.hpp"
#include "ck_tile/core/container/statically_indexed_array.hpp"
#include "ck_tile/core/container/thread_buffer.hpp"

View File

@@ -1267,3 +1267,10 @@ slice_sequence(Seq, number<SliceSize>, Mask = typename uniform_sequence_gen<Seq:
}
} // namespace ck_tile
// Include optimized sequence operations (C++20)
// Define CK_TILE_USE_OPTIMIZED_SEQUENCE_OPS before including to enable
// optimized versions that replace O(N²) recursive templates with O(N) constexpr functions
#if __cplusplus >= 202002L
#include "ck_tile/core/container/sequence_optimized.hpp"
#endif