commit | 2bb9a54ddc3934ce2d21cce2a9d5b58fe115e3d1 | [log] [tgz] |
---|---|---|
author | Scott Todd <scotttodd@google.com> | Tue Jun 13 12:24:21 2023 -0700 |
committer | GitHub <noreply@github.com> | Tue Jun 13 12:24:21 2023 -0700 |
tree | f010efe2d474f741b030565b5c4aaac444ecef8a | |
parent | bf09487cb1ae2457754a75eadebf6a3437e41b27 [diff] |
Add `iree-hal-dump-executable-files-to` meta flag. (#14096) Setting `--iree-hal-dump-executable-files-to=${PATH}` is equivalent to setting ``` --iree-hal-dump-executable-benchmarks-to=${PATH} --iree-hal-dump-executable-binaries-to=${PATH} --iree-hal-dump-executable-intermediates-to=${PATH} --iree-hal-dump-executable-sources-to=${PATH} ``` This is useful when you want to dump _all_ the files to the same path, without needing to type as much. For example, `iree-compile --iree-hal-target-backends=vulkan-spirv --iree-hal-target-backends=llvm-cpu iree/samples/models/simple_abs.mlir -o /dev/null --iree-hal-dump-executable-files-to=simple_abs_files/` produces: ``` module_abs_dispatch_0.mlir module_abs_dispatch_0_embedded_elf_x86_64.codegen.bc module_abs_dispatch_0_embedded_elf_x86_64.linked.bc module_abs_dispatch_0_embedded_elf_x86_64.optimized.bc module_abs_dispatch_0_embedded_elf_x86_64.s module_abs_dispatch_0_embedded_elf_x86_64.so module_abs_dispatch_0_embedded_elf_x86_64_benchmark.mlir module_abs_dispatch_0_vulkan_spirv_fb.mlir module_abs_dispatch_0_vulkan_spirv_fb.spv module_abs_dispatch_0_vulkan_spirv_fb_benchmark.mlir ``` The new flag is treated as the default for each of those other flags, so you can also set them explicitly (to a path _or_ empty string). --- Also renamed options and files for consistency.
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.