Expand description
Procedural macros for the vyre GPU compute IR
compiler.
This crate is compile-time only. Downstream users import from
vyre::optimizer::vyre_pass rather than depending on this crate directly.
The macro surface includes op registration, AST registry generation, pass registration, builder-field skipping, and algebraic-law derivation.
Macros§
- define_
op - Function-like
define_op!- single-site op registration via inventory. - vyre_
ast_ registry - Generates the declarative IR AST core plus serialization and visitor traits.
Attribute Macros§
- skip_
builder - Marker attribute used by
vyre_ast_registry!to skip a builder field. - vyre_
pass - Register a unit struct as a
vyre::optimizer::ProgramPass.
Derive Macros§
- Algebraic
Laws - Derive
vyre::AlgebraicLawProviderfrom a#[vyre(laws = [...])]attribute.