prefill: key tape splits from ordered host KV bounds

This commit is contained in:
Constantin authored and StillDeadcode committed 2026-11-03 19:05:30 +01:00
1 parent aa14eea76c
commit 798fb21e51
14 files changed
+221 -65

No files matched your search

+8 -4
View File
@@ -1,4 +1,4 @@
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 34 and
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 35 and
* RAD_FORMAT_VER 2, as { type, field, offset, size } rows ("" is the struct itself). A snapshot
* of the headers on x86-64 Linux, which abi_layout_test.cpp holds the layout to; regenerate it
* from the test's printout only together with a version bump. */
@@ -23,7 +23,7 @@
{ "RadArchProbe", "gen_max_pixels", 104, 8 },
{ "RadArchProbe", "gen_max_refs", 112, 8 },
{ "RadArchProbe", "gen_shape", 120, 4 },
{ "RadArgs", "", 0, 64 },
{ "RadArgs", "", 0, 72 },
{ "RadArgs", "t", 0, 8 },
{ "RadArgs", "n_t", 8, 4 },
{ "RadArgs", "p", 16, 8 },
@@ -33,7 +33,9 @@
{ "RadArgs", "instance", 48, 8 },
{ "RadArgs", "rank", 56, 4 },
{ "RadArgs", "world_size", 60, 4 },
{ "RadBatch", "", 0, 424 },
{ "RadArgs", "kv_used_max_h", 64, 4 },
{ "RadArgs", "wgp_count", 68, 4 },
{ "RadBatch", "", 0, 432 },
{ "RadBatch", "phase", 0, 4 },
{ "RadBatch", "step", 4, 4 },
{ "RadBatch", "n_tok", 8, 8 },
@@ -92,6 +94,7 @@
{ "RadBatch", "plugin_cu_h", 400, 8 },
{ "RadBatch", "sgen_b", 408, 8 },
{ "RadBatch", "kv_used_max_h", 416, 8 },
{ "RadBatch", "positions_h", 424, 8 },
{ "RadBufDecl", "", 0, 80 },
{ "RadBufDecl", "dtype", 0, 4 },
{ "RadBufDecl", "rank", 4, 4 },
@@ -488,7 +491,7 @@
{ "RadGeneratorDecl", "chunk_bos", 364, 4 },
{ "RadGeneratorDecl", "chunk_eos", 368, 4 },
{ "RadGeneratorDecl", "cond_opts", 372, 4 },
{ "RadKVGroupBatch", "", 0, 80 },
{ "RadKVGroupBatch", "", 0, 88 },
{ "RadKVGroupBatch", "group", 0, 4 },
{ "RadKVGroupBatch", "slot_mapping", 8, 8 },
{ "RadKVGroupBatch", "block_table", 16, 8 },
@@ -499,6 +502,7 @@
{ "RadKVGroupBatch", "block_size", 56, 8 },
{ "RadKVGroupBatch", "max_blocks", 64, 8 },
{ "RadKVGroupBatch", "stream", 72, 8 },
{ "RadKVGroupBatch", "seqused_h", 80, 8 },
{ "RadKVGroupDecl", "", 0, 56 },
{ "RadKVGroupDecl", "kind", 0, 4 },
{ "RadKVGroupDecl", "dtype", 4, 4 },