Function mlir_sys::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.