Skip to main content

mlirDynamicOpTraitAttach

Function mlirDynamicOpTraitAttach 

Source
pub unsafe extern "C" fn mlirDynamicOpTraitAttach(
    dynamicOpTrait: MlirDynamicOpTrait,
    opName: MlirStringRef,
    context: MlirContext,
) -> bool
Expand description

Attach a dynamic op trait to the given operation name. Note that the operation name must be modeled by dynamic dialect and must be registered. The ownership of the trait will be transferred to the operation name after this call.