Separate HAL driver registration with the threading (#7184)
* Separate HAL driver registration with the threading
Have synced drivers for {Dylib, VMVX}, and the global flags of
`IREE_HAL_DRIVER_{DYLIB, VMVX}_SYNC`, so the HAL driver registration can be
done with threadless configuration.
Enable iree/runtime libraries to be built in threadless configuration.
Clean up the usage of IREE_ENABLE_THREADING flag in iree/hal and iree/samples
Part of the cleanup for https://github.com/google/iree/issues/4298
* Make `dylib-sync` driver embedded library compatible only
This allows iree/runtime can really built in the bare-metal config
without the dynamic_library dependency, and the `-ldl` linker option.
This also removes the driver dependency in iree/samples/{dynamic_shapes,
variable_and_state} examples.IREE (Intermediate Representation Execution Environment, pronounced as “eerie”) is an MLIR-based end-to-end compiler and runtime that lowers Machine Learning (ML) models to a unified IR that scales up to meet the needs of the datacenter and down to satisfy the constraints and special considerations of mobile and edge deployments.
See our website for project details, user guides, and instructions on building from source.
IREE is still in its early phase. We have settled down on the overarching infrastructure and are actively improving various software components as well as project logistics. It is still quite far from ready for everyday use and is made available without any support at the moment. With that said, we welcome any kind of feedback on any communication channels!
See our website for more information.
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.