bfloat16 (Brain Floating Point)
Optional width. Off unless -DVECMAT_ENABLE_BF16=ON. It does not change vm_, vm_, or abi.h. Include vecmat/ directly. vecmat.h does not include it. With the switch off the header is not installed, and vm_ is not a symbol.
vm_ is bfloat16 bits in a uint16_t. VM_ is defined but not probed in core; a vendor module owns the probe for its kernels. vm_ rounds ties to even. Inf stays inf. Every NaN becomes 0x7fc0.
vm_ is row-major, no transpose:
void vm_gemm_bf16f32( float *c, int ldc, const vm_bf16_t *a, int lda, const vm_bf16_t *b, int ldb, int m, int n, int k, float alpha, float beta);
c is f32. a and b are bf16. Leading dimensions are in elements of their own type. This is not vm_. Accumulators are f32. A long k is not offered as a bf16 dot.
vm_ installs the scalar slot and calls the generated vm_. A module overrides with vm_. vm_ returns bf16=scalar until then. That note is not vm_. VECMAT_FORCE_ISA does not select this slot.