Skip to main content

Crate teeny_triton

Crate teeny_triton 

Source
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 Triton DSL trait and its supporting types.
triton_lang
The generated DSL source text, embedded as triton_lang::TRITON.

Structs§

TritonKernel
A compiled kernel’s identity: its name, type signature, and generated source block.