commit | ed32801d29a3d9a4855165df6e95175615662e14 | [log] [tgz] |
---|---|---|
author | bjacob <benoitjacob@google.com> | Wed Nov 08 16:40:12 2023 -0500 |
committer | GitHub <noreply@github.com> | Wed Nov 08 16:40:12 2023 -0500 |
tree | 2e6b6322dcedfc13ca420c46f00f2535bb4372f5 | |
parent | 3e2ae27c1d9a4b67bd80c55330882831cf4da3b8 [diff] |
Resolve `host` CPU to `generic` outside of x86 (#15481) Following https://github.com/openxla/iree/pull/15477, `cpu` is treated as a x86-only thing, except for the special value `host` that gets resolved to the actual host CPU and CPU features. JitGlobals creates a host target, that gets resolved accordingly. The resolved CPU is then recorded in a `hal.devices.targets` attribute. If the CPU field is set to the actual host CPU identifier there, then that will trigger the error message about that being a x86-only thing: ``` error: Resolution of target CPU to target CPU features is not implemented on this target architecture. Pass explicit CPU features instead of a CPU on this architecture, or implement that. ``` So this needs to be left empty in that case. No functional difference, as that CPU is just ignored anyway (which is what the error message is about).
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.