Skip to main content

Crate cubecl_macros_internal

Crate cubecl_macros_internal 

Source

Macros§

const_eval
simplify

Attribute Macros§

cube_op
Version of pliron_op that automatically derives shape ops, accessors, and a constructor from struct fields. Also enables format by default, and sets the verifier to "succ" unless overridden.
op_traits
pass_name
Implements Pass::name on the annotated impl Pass for X block, returning the short name of the pass struct (e.g. "InsertEntrypointPass") instead of the fully-qualified type path.

Derive Macros§

EnumSetType
Derives the machinery an enum needs to live in a cubecl_ir::EnumSet.
NamedRewrite
Implements NamedRewrite::name on the annotated struct, returning the short name of the rewrite struct (e.g. "InsertEntrypointPass") instead of the fully-qualified type path.
TypeHash