mlir_sys

Function mlirContextCreateWithRegistry

Source
pub unsafe extern "C" fn mlirContextCreateWithRegistry(
    registry: MlirDialectRegistry,
    threadingEnabled: bool,
) -> MlirContext
Expand description

Creates an MLIR context, setting the multithreading setting explicitly and pre-loading the dialects from the provided DialectRegistry.