Merge upstream main (v1.17.0 -> v2.1.0) into the SYCL port

102 upstream commits. Nine conflicts resolved. Fork side of the merge:
- libxe2: declare the givens_dense_quant schema (upstream 2.0 dropped it
  from libavx and libref; the device libraries now each carry it).
- plain_norm becomes an ABI 42 append to RadBuildCtx; abi layout table
  regenerated, kTableAbi = 42.

Known before the PR: arch_test (MTP lint and pinned graph hashes for
qwen35_fp8, qwen35moe_fp8, qwen4exp with MTP).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
aneinanderandClaude Opus 5.5 committed 2026-11-18 15:06:17 +01:00
commit 4b70a96378
850 files changed
+157819 -58519

No files matched your search

+39 -24
View File
@@ -1,4 +1,4 @@
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 37 and
/* abi_layout_table.h -- every abi/ struct's size and field offsets at RAD_ABI_VERSION 42 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. */
@@ -13,7 +13,7 @@
{ "RadArchProbe", "gen_audio", 48, 4 },
{ "RadArchProbe", "gen_ctx", 56, 8 },
{ "RadArchProbe", "gen_video", 64, 4 },
{ "RadArchProbe", "kv_quant_ok", 68, 4 },
{ "RadArchProbe", "kv_fp8_ok", 68, 4 },
{ "RadArchProbe", "chain_pays", 72, 4 },
{ "RadArchProbe", "kv_stream_ok", 76, 4 },
{ "RadArchProbe", "control_vector_ok", 80, 4 },
@@ -126,24 +126,24 @@
{ "RadBuildCtx", "max_out_rows", 80, 8 },
{ "RadBuildCtx", "max_audio_frames", 88, 8 },
{ "RadBuildCtx", "max_mixed_tok", 96, 8 },
{ "RadBuildCtx", "kv_quant", 104, 4 },
{ "RadBuildCtx", "attn_prefill_fp8", 108, 4 },
{ "RadBuildCtx", "kv_resident_blocks", 112, 8 },
{ "RadBuildCtx", "kv_stream_ok", 120, 4 },
{ "RadBuildCtx", "cvec", 128, 8 },
{ "RadBuildCtx", "tp_attn_rows", 136, 4 },
{ "RadBuildCtx", "state_dtype", 140, 4 },
{ "RadBuildCtx", "draft_coupling", 144, 4 },
{ "RadBuildCtx", "weight_prefetch_off", 148, 4 },
{ "RadBuildCtx", "draft_tree", 152, 8 },
{ "RadBuildCtx", "calib_dir", 160, 8 },
{ "RadBuildCtx", "calib_layer_lo", 168, 4 },
{ "RadBuildCtx", "calib_layer_hi", 172, 4 },
{ "RadBuildCtx", "calib_tokens", 176, 8 },
{ "RadBuildCtx", "gen_max_pixels", 184, 8 },
{ "RadBuildCtx", "gen_max_refs", 192, 8 },
{ "RadBuildCtx", "expert_file_tier", 200, 4 },
{ "RadAudioGenBatch", "", 0, 344 },
{ "RadBuildCtx", "kv_resident_blocks", 104, 8 },
{ "RadBuildCtx", "kv_stream_ok", 112, 4 },
{ "RadBuildCtx", "cvec", 120, 8 },
{ "RadBuildCtx", "tp_attn_rows", 128, 4 },
{ "RadBuildCtx", "state_dtype", 132, 4 },
{ "RadBuildCtx", "draft_coupling", 136, 4 },
{ "RadBuildCtx", "weight_prefetch_off", 140, 4 },
{ "RadBuildCtx", "draft_tree", 144, 8 },
{ "RadBuildCtx", "calib_dir", 152, 8 },
{ "RadBuildCtx", "calib_layer_lo", 160, 4 },
{ "RadBuildCtx", "calib_layer_hi", 164, 4 },
{ "RadBuildCtx", "calib_tokens", 168, 8 },
{ "RadBuildCtx", "gen_max_pixels", 176, 8 },
{ "RadBuildCtx", "gen_max_refs", 184, 8 },
{ "RadBuildCtx", "expert_file_tier", 192, 4 },
{ "RadBuildCtx", "slot_base", 196, 4 },
{ "RadBuildCtx", "plain_norm", 200, 4 },
{ "RadAudioGenBatch", "", 0, 352 },
{ "RadAudioGenBatch", "n_lane", 0, 8 },
{ "RadAudioGenBatch", "lane", 8, 8 },
{ "RadAudioGenBatch", "lane_h", 16, 8 },
@@ -189,7 +189,8 @@
{ "RadAudioGenBatch", "ref_cu_h", 320, 8 },
{ "RadAudioGenBatch", "ref_frame", 328, 8 },
{ "RadAudioGenBatch", "ref_frame_h", 336, 8 },
{ "RadAudioGenDecl", "", 0, 280 },
{ "RadAudioGenBatch", "prompt_cu_h", 344, 8 },
{ "RadAudioGenDecl", "", 0, 296 },
{ "RadAudioGenDecl", "name", 0, 8 },
{ "RadAudioGenDecl", "tmpl", 8, 8 },
{ "RadAudioGenDecl", "neg_token", 16, 4 },
@@ -229,6 +230,8 @@
{ "RadAudioGenDecl", "ref_hop", 256, 8 },
{ "RadAudioGenDecl", "ref_max_samples", 264, 8 },
{ "RadAudioGenDecl", "ref_max", 272, 4 },
{ "RadAudioGenDecl", "tmpl_ref_instruct", 280, 8 },
{ "RadAudioGenDecl", "neg_tmpl_ref", 288, 8 },
{ "RadControlVector", "", 0, 32 },
{ "RadControlVector", "dir", 0, 8 },
{ "RadControlVector", "scales", 8, 8 },
@@ -244,7 +247,7 @@
{ "RadAudioFormat", "language_lead", 48, 8 },
{ "RadAudioFormat", "languages", 56, 8 },
{ "RadAudioFormat", "n_languages", 64, 4 },
{ "RadChatFormat", "", 0, 208 },
{ "RadChatFormat", "", 0, 216 },
{ "RadChatFormat", "struct_size", 0, 4 },
{ "RadChatFormat", "name", 8, 8 },
{ "RadChatFormat", "reasoning_open", 16, 8 },
@@ -275,6 +278,7 @@
{ "RadChatFormat", "object_bare_keys", 192, 4 },
{ "RadChatFormat", "reasoning_anywhere", 196, 4 },
{ "RadChatFormat", "arg_json_value_prefix", 200, 8 },
{ "RadChatFormat", "content_open", 208, 8 },
{ "RadConstraint", "", 0, 32 },
{ "RadConstraint", "key", 0, 8 },
{ "RadConstraint", "op", 8, 4 },
@@ -311,7 +315,7 @@
{ "RadEncPlane", "kind", 28, 4 },
{ "RadEncPlane", "block", 32, 16 },
{ "RadEncPlane", "extent", 48, 16 },
{ "RadEncoderDecl", "", 0, 56 },
{ "RadEncoderDecl", "", 0, 64 },
{ "RadEncoderDecl", "name", 0, 8 },
{ "RadEncoderDecl", "modalities", 8, 4 },
{ "RadEncoderDecl", "patch_dim", 16, 8 },
@@ -320,6 +324,7 @@
{ "RadEncoderDecl", "n_embd", 40, 8 },
{ "RadEncoderDecl", "out", 48, 4 },
{ "RadEncoderDecl", "one_grid", 52, 4 },
{ "RadEncoderDecl", "bidirectional", 56, 4 },
{ "RadEncoding", "", 0, 568 },
{ "RadEncoding", "scheme", 0, 24 },
{ "RadEncoding", "transform", 24, 24 },
@@ -748,6 +753,12 @@
{ "RadShapeGenDecl", "max_lanes", 176, 8 },
{ "RadShapeGenDecl", "max_query", 184, 8 },
{ "RadShapeGenDecl", "field_out", 192, 4 },
{ "RadSyclStream", "", 0, 24 },
{ "RadSyclStream", "magic", 0, 4 },
{ "RadSyclStream", "version", 4, 4 },
{ "RadSyclStream", "queue", 8, 8 },
{ "RadSyclStream", "device", 16, 4 },
{ "RadSyclStream", "reserved", 20, 4 },
{ "RadTensor", "", 0, 112 },
{ "RadTensor", "data", 0, 8 },
{ "RadTensor", "dtype", 8, 4 },
@@ -932,7 +943,7 @@
{ "RadMtpCoupleDraw", "seq", 16, 8 },
{ "RadMtpCoupleDraw", "card", 24, 4 },
{ "RadMtpCoupleDraw", "mode", 28, 4 },
{ "RadMtpCoupleState", "", 0, 152 },
{ "RadMtpCoupleState", "", 0, 168 },
{ "RadMtpCoupleState", "draw", 0, 32 },
{ "RadMtpCoupleState", "pos", 32, 8 },
{ "RadMtpCoupleState", "status", 40, 4 },
@@ -941,3 +952,7 @@
{ "RadMtpCoupleState", "count", 52, 4 },
{ "RadMtpCoupleState", "ids", 56, 32 },
{ "RadMtpCoupleState", "q", 88, 64 },
{ "RadMtpCoupleState", "nkids", 152, 4 },
{ "RadMtpCoupleState", "scheme", 156, 4 },
{ "RadMtpCoupleState", "blk", 160, 4 },
{ "RadMtpCoupleState", "pad_", 164, 4 },