Archived
libr3d: register the fused gdn_conv_recurrent_update row
The kernel and launcher (libhalo's, r3dh_gdn_recurrent_update.hip) have been in the tree since 1.16.0, but no row referenced them, so the op always landed on libavx's CPU row. Register them: - the op's schema (12 params, 18 operands: the convolution's inputs, then the recurrence's minus q, k and v, which the fused kernel never materialises), identical to libavx's and libref's; - the constraint set: q_len >= 1, head_k 128, head_v 128, conv width 4; - the row at R3D_PRIO_ONLY, NOTUNE (one kernel configuration), no layout hooks; - the selftest case (hand-built, as the sibling GDN rows): T=4, Hg=2, H=4, K=V=128, window 4, state f32; o_q and o_scale absent; - the README row, the table count (111 rows over 72 schemas) and the decode-path prose. rad-schemas over the four libs: 244 shared ops, 0 disagree (the new schema matches the canonical registries). gfx1102 (RX 7600): r3d_selftest 118 rows / 0 failed, the new row runs with 8 output planes finite; ref_test 153,146 checks / 294 cases / 0 failures.
This commit is contained in:
1 parent
87c604370d
commit
036bd8fec0
4 files changed
+167
-2
No files matched your search
@@ -187,6 +187,7 @@ int r3d_rad_gdn_conv_update(const RadArgs* a, RadStream s);
|
||||
/* --- r3dh_gdn_recurrent_update.hip (libhalo's): the gated-delta-net recurrent state update at
|
||||
* decode against the paged state cache, in either state form (per_candidate or anchor). */
|
||||
extern "C" int r3dh_rad_gdn_recurrent_update(const RadArgs* a, RadStream s);
|
||||
extern "C" int r3dh_rad_gdn_conv_recurrent_update(const RadArgs* a, RadStream s);
|
||||
|
||||
/* --- r3d_expert_scale_bf16.hip: each routing weight times its expert's own scale, in place. */
|
||||
int r3d_rad_expert_scale_bf16(const RadArgs* a, RadStream s);
|
||||
|
||||
Reference in new issue
Block a user