Structs§
- Attention
Schedule - A hardware-safe attention schedule. The generated kernel uses one workgroup per attention head and an online tiled reduction over context.
- Attention
Shader - Generated attention kernel plus its Naga validation report.
- Attention
Shader Params - Uniform parameter block matching
AttentionParamsin the generated attention shader. - Attention
Shape - The attention workload bound into one Forge kernel.
Functions§
- causal_
attention_ oracle - Caller-buffered stable scaled-dot-product attention oracle.
- synthesize_
causal_ attention - Emit and Naga-validate a causal scaled-dot-product attention kernel.