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 single macro is vyre_pass — see that item for the full usage
contract, argument shape, and a worked example. A high-level narrative
lives in the crate README.
Macros§
- define_
op - Function-like
define_op!— single-site op registration via inventory. - vyre_
ast_ registry - Generates the declarative IR AST core (Expr and Node enums) plus serialization and visitor traits.
Attribute Macros§
- skip_
builder - A generic marker attribute used exclusively to instruct
vyre_ast_registry!to skip generating a builder method for a specific struct field. - vyre_
pass - Register a unit struct as a
vyre::optimizer::ProgramPass.
Derive Macros§
- Algebraic
Laws - Derive
vyre::AlgebraicLawProviderfrom a#[vyre(laws = [...])]attribute.