commit | 82e37d66886275dc638beb995d3066c54705706b | [log] [tgz] |
---|---|---|
author | Marius Brehler <marius.brehler@amd.com> | Thu Jan 09 17:22:25 2025 +0100 |
committer | GitHub <noreply@github.com> | Thu Jan 09 17:22:25 2025 +0100 |
tree | 273df149fa78b5212f19b8973358fb9cf8f74c99 | |
parent | 02d145e5a948283df3cd30289fa68fc9ceb602cb [diff] |
Fix (cross) compiling for 32-bit targets (#19644) The patch fixes the following build errors that occur when cross-compiling with GCC for a 32-bit target: ``` iree-bare-metal-arm/third_party/iree/runtime/src/iree/hal/semaphore.h: In function 'iree_hal_status_as_semaphore_failure': iree-bare-metal-arm/third_party/iree/runtime/src/iree/hal/semaphore.h:75:12: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 75 | (((uint64_t)status) >> 1); | ^ iree-bare-metal-arm/third_party/iree/runtime/src/iree/hal/semaphore.h: In function 'iree_hal_semaphore_failure_as_status': iree-bare-metal-arm/third_party/iree/runtime/src/iree/hal/semaphore.h:95:32: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 95 | return iree_status_clone((iree_status_t)(((int64_t)value << 1) >> 1)); | ^ iree-bare-metal-arm/third_party/iree/runtime/src/iree/hal/semaphore.h: In function 'iree_hal_semaphore_failure_free': iree-bare-metal-arm/third_party/iree/runtime/src/iree/hal/semaphore.h:107:22: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 107 | iree_status_free((iree_status_t)(((int64_t)value << 1) >> 1)); | ^ cc1: all warnings being treated as errors ```
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.
Releases notes are published on GitHub releases.
Package | Release status |
---|---|
GitHub release (stable) | |
GitHub release (nightly) | |
Python iree-base-compiler | |
Python iree-base-runtime |
Operating system | Build status |
---|---|
Linux | |
macOS | |
Windows |
For the full list of workflows see https://iree.dev/developers/general/github-actions/.
See our website for more information.
Community meeting recordings: IREE YouTube channel
Date | Title | Recording | Slides |
---|---|---|---|
2021-06-09 | IREE Runtime Design Tech Talk | recording | slides |
2020-08-20 | IREE CodeGen (MLIR Open Design Meeting) | recording | slides |
2020-03-18 | Interactive HAL IR Walkthrough | recording | |
2020-01-31 | End-to-end MLIR Workflow in IREE (MLIR Open Design Meeting) | recording | slides |
IREE is licensed under the terms of the Apache 2.0 License with LLVM Exceptions. See LICENSE for more information.