Expand description
The Triton-like kernel DSL for teenygrad. Kernel functions are
written against triton/triton_lang’s types and #[kernel]-annotated
(teeny_macros::kernel); triton_lang::TRITON embeds the DSL source as a string constant
(generated by build.rs), consumed by the custom teenyc compiler at kernel-compile time.
See the crate README for the runtime teenyc/TEENYC_PATH setup this implies.
Modules§
- error
- Error types.
- triton
- The
TritonDSL trait and its supporting types. - triton_
lang - The generated DSL source text, embedded as
triton_lang::TRITON.
Structs§
- Triton
Kernel - A compiled kernel’s identity: its name, type signature, and generated source block.