Archived
qwen4exp: verify/decode pass launch order, prefetch width, chain polling, turnover slots
Lossless (no kernel arithmetic or operand change): the router weight is read beside the mixer all-reduce; k/v projections before q|gate; the indexer's keys behind the attention launches within the exact bound; verify-height prefetch at 32 workgroups (`prefetch` takes an optional `blocks` param) and the shared down arm before the routed down from 2 rows (kVerifyRows); chain waits poll by grid size (R4D_CHAIN_TINY/SMALL/MID); the mover's kept-free turnover slots follow the swaps the engine asked for (MoverConfig::turnover_adaptive) instead of a fixed 640. arch_test: new a_flash_next_decode_step_orders_its_small_launches; the pinned graph fingerprints and step hashes of qwen4exp_fp8 move (re-pinned). place_test: the adaptive turnover. r4d_selftest: the `blocks` param of prefetch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
946a6f9e2b
commit
ca7a7212ec
20 files changed
+598
-44
No files matched your search
@@ -908,6 +908,9 @@ static const RadOperandSpec oKvLenTrim[] = {
|
||||
/* `prefetch` reads a weight's leading `bytes` into the cache and writes nothing (docs/OPS.md). */
|
||||
static const RadParamSpec pPrefetch[] = {
|
||||
{ "bytes", RAD_P_INT, RAD_REQUIRED },
|
||||
/* The workgroups reading, where the architecture measured its own count; absent or 0, the
|
||||
* kernel's (its `nb` axis). */
|
||||
{ "blocks", RAD_P_INT, RAD_OPTIONAL },
|
||||
};
|
||||
static const RadOperandSpec oPrefetch[] = {
|
||||
{ "w", RAD_OPD_WEIGHT, 0 },
|
||||
|
||||
Reference in new issue
Block a user