Merge commit '4750b293fe0abfa44a32181742a48b1dfec468f7' into develop

This commit is contained in:
assistant-librarian[bot]
2025-08-06 14:17:09 +00:00
parent 69d6769ca8
commit 8471b0914b
14 changed files with 905 additions and 199 deletions

View File

@@ -42,7 +42,11 @@ struct thread_buffer {
// TODO: this ctor can't ignore
CK_TILE_HOST_DEVICE constexpr thread_buffer() : data{} {}
CK_TILE_HOST_DEVICE constexpr thread_buffer(const value_type & o) : data{o} {}
CK_TILE_HOST_DEVICE constexpr thread_buffer(const value_type & o) : data{} {
static_for<0, N, 1>{}(
[&](auto i) { data[i] = o; }
);
}
CK_TILE_HOST_DEVICE static constexpr auto size() { return N; }
CK_TILE_HOST_DEVICE auto & get() {return data; }