Archived
ops: rmsnorm_p, gelu_mul, logit_softcap, scale in lockstep across libref/libavx/libr4d + OPS.md rows
Elementwise ops with numeric selftest cases against the f64 oracle (both legs of logit_softcap: bf16 and the f32 band the sampling chain carries). libr4d gains env-gated verification probes alongside them (R4D_VERIFY_OFF recompute-on-host checks; default off — instruments, not features).
This commit is contained in:
1 parent
73620ef00e
commit
c37ce73d72
20 files changed
+2260
-51
No files matched your search
+9
-8
@@ -84,15 +84,16 @@ int avx_isa_force(int level);
|
||||
* suffix of every implementation symbol: avx_<name>_sc / _v1 / _v2 / _v3. */
|
||||
#define AVX_OP_LIST(X) \
|
||||
/* ---- elementwise and norms */ \
|
||||
X(rmsnorm) X(rmsnorm_add) X(hc_enter) X(hc_read) \
|
||||
X(hc_write) X(mtp_enter) X(layernorm) X(add) \
|
||||
X(grid_embed) \
|
||||
X(mul) X(silu_mul) X(gelu) X(silu) \
|
||||
X(sigmoid) X(gather_rows) X(scatter_rows) X(ngram_ids) \
|
||||
X(rmsnorm) X(rmsnorm_p) X(rmsnorm_add) X(hc_enter) \
|
||||
X(hc_read) X(hc_write) X(mtp_enter) X(layernorm) \
|
||||
X(add) X(grid_embed) \
|
||||
X(mul) X(silu_mul) X(gelu_mul) X(gelu) \
|
||||
X(silu) X(sigmoid) X(logit_softcap) X(gather_rows) \
|
||||
X(scatter_rows) X(ngram_ids) \
|
||||
X(ple_gate) X(ple_conv) X(cast) X(softmax) \
|
||||
X(scale_rows) X(fill) X(act_mul) X(seg_mean) \
|
||||
X(mul_weight) X(pool_rows) X(relu) X(clamp) \
|
||||
X(conv2d) X(conv1d_dw) X(rel_sinusoid) \
|
||||
X(scale_rows) X(scale) X(fill) X(act_mul) \
|
||||
X(seg_mean) X(mul_weight) X(pool_rows) X(relu) \
|
||||
X(clamp) X(conv2d) X(conv1d_dw) X(rel_sinusoid) \
|
||||
/* ---- quantisation and rotation */ \
|
||||
X(quant_act_i8) X(had_quant_act_i8) X(quant_act_fp8) X(had_quant_act_fp8) \
|
||||
X(gram_accum) X(rmsnorm_had_quant_i8) X(gated_had_quant_i8) X(dequant) \
|
||||
|
||||
Reference in new issue
Block a user