Repository navigation
Replacing use of dylib/vmvx(-sync) with local-task/local-sync drivers. - #9365
Conversation
77a4ffc to
3dee1b2
Compare
d0d0aa4 to
a272a69
Compare
1c4c4c1 to
e004fba
Compare
e004fba to
1c38442
Compare
1c38442 to
33aa8b3
Compare
Abbreviated Benchmark Summary@ commit 33aa8b33bf4a0316939512c87107c47dfb137626 (vs. base 584681f4a152934d98a90bb44a25f3e60cfb413f) Regressed Benchmarks 🚩
Improved Benchmarks 🎉
For more information: |
Abbreviated x86_64 Benchmark Summary (experimental)@ commit 33aa8b33bf4a0316939512c87107c47dfb137626 (vs. base f900f508bc03b80b24b5f4b17db9564380fb2ed2) Improved Benchmarks 🎉
For more information: |
|
drive-by: can the local variants just be Thanks |
| Ensure that the `IREE_HAL_DRIVER_DYLIB` CMake option is `ON` when configuring | ||
| for the target. | ||
| Ensure that the `IREE_HAL_DRIVER_LOCAL_TASK` and | ||
| `IREE_HAL_EXECUTABLE_LOADER_EMBEDDED_ELF` CMake options are `ON` when | ||
| configuring for the target. |
There was a problem hiding this comment.
I'd like to rename this file and make some other updates to it following this work. That could happen in a follow-up, or as part of this PR. (This is the source for https://google.github.io/iree/deployment-configurations/cpu-dylib/)
If you want to refresh this file yourself, also be sure to update the title and relative path at https://github.com/google/iree/blob/0c81427ab65a2b15956adaf513d005c18ac2006b/docs/website/mkdocs.yml#L104, as well as any cross references, e.g. https://github.com/google/iree/blob/0c81427ab65a2b15956adaf513d005c18ac2006b/docs/website/docs/deployment-configurations/index.md#L10
There was a problem hiding this comment.
good catch - will leave that to a follow up - probably worth refreshing the structure to focus on execution mode vs the executable formats
Part of #4298, follow-up to #9365 (comment) The main change here is renaming the `cpu-dylib` page to just `cpu` and adding some explanations for `local-sync` vs `local-task` and the executable format options. There's still a bit to clean up to do around the `dylib-llvm-aot` compiler target name and a few lingering places in code that make assumptions about dependencies on threading.
…#9399) Part of iree-org#4298, follow-up to iree-org#9365 (comment) The main change here is renaming the `cpu-dylib` page to just `cpu` and adding some explanations for `local-sync` vs `local-task` and the executable format options. There's still a bit to clean up to do around the `dylib-llvm-aot` compiler target name and a few lingering places in code that make assumptions about dependencies on threading.
This gets us to the proper orthogonality of execution model (sync or task) and supported executable formats (embedded elf, system library, or vmvx module).
There's a lot of misnamed tests that need to be cleaned up (the duplication of things like
check_blah_vmvx_vmvx_blah) and they should become much more meaningful (local_sync_vmvxvslocal_task_vmvx). The benchmark scripts had to be updated to separate what is a target configuration from the driver/loader used.Fixes #4298 (loaders are now independent of execution model).