From 556fda85a5205d3b217ab5a08ede8714bbc33c99 Mon Sep 17 00:00:00 2001 From: Marius Brehler Date: Tue, 17 Sep 2024 15:34:21 +0200 Subject: [PATCH] Integrate IREE at iree-org/iree@d39c3c5 Updates IREE usage to match iree-org/iree@d39c3c5 and candidate-20240730.970, respectively. --- iree-release-link.txt | 2 +- requirements-compiler.txt | 2 +- requirements-tools.txt | 4 ++-- samples/simple_embedding/device_embedded_sync.c | 2 +- samples/simple_embedding/device_vmvx_sync.c | 2 +- samples/simple_vec_mul/device_static_sync.c | 2 +- samples/simple_vec_mul/device_vmvx_sync.c | 2 +- samples/static_library/static_library_demo.c | 2 +- samples/vision_inference/static_library_mnist.c | 2 +- third_party/iree | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/iree-release-link.txt b/iree-release-link.txt index e264946..3f73540 100644 --- a/iree-release-link.txt +++ b/iree-release-link.txt @@ -1 +1 @@ -https://github.com/iree-org/iree/releases/download/candidate-20240728.968/iree-dist-20240728.968-linux-x86_64.tar.xz +https://github.com/iree-org/iree/releases/download/candidate-20240730.970/iree-dist-20240730.970-linux-x86_64.tar.xz diff --git a/requirements-compiler.txt b/requirements-compiler.txt index 8e23226..b230cb0 100644 --- a/requirements-compiler.txt +++ b/requirements-compiler.txt @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2023 The IREE bare-metal Arm Authors # SPDX-License-Identifier: CC0-1.0 -f https://iree.dev/pip-release-links.html -iree-compiler==20240728.968 +iree-compiler==20240730.970 diff --git a/requirements-tools.txt b/requirements-tools.txt index 2ec454c..d52c987 100644 --- a/requirements-tools.txt +++ b/requirements-tools.txt @@ -1,5 +1,5 @@ # SPDX-FileCopyrightText: 2022 The IREE bare-metal Arm Authors # SPDX-License-Identifier: CC0-1.0 -f https://iree.dev/pip-release-links.html -iree-tools-tf==20240728.968 -iree-tools-tflite==20240728.968 +iree-tools-tf==20240730.970 +iree-tools-tflite==20240730.970 diff --git a/samples/simple_embedding/device_embedded_sync.c b/samples/simple_embedding/device_embedded_sync.c index 339eb17..f8abfb0 100644 --- a/samples/simple_embedding/device_embedded_sync.c +++ b/samples/simple_embedding/device_embedded_sync.c @@ -28,7 +28,7 @@ iree_status_t create_sample_device(iree_allocator_t host_allocator, /*plugin_manager=*/NULL, host_allocator, &loader)); // Use the default host allocator for buffer allocations. - iree_string_view_t identifier = iree_make_cstring_view("dylib"); + iree_string_view_t identifier = iree_make_cstring_view("local-sync"); iree_hal_allocator_t* device_allocator = NULL; iree_status_t status = iree_hal_allocator_create_heap( identifier, host_allocator, host_allocator, &device_allocator); diff --git a/samples/simple_embedding/device_vmvx_sync.c b/samples/simple_embedding/device_vmvx_sync.c index b1ab903..4302c06 100644 --- a/samples/simple_embedding/device_vmvx_sync.c +++ b/samples/simple_embedding/device_vmvx_sync.c @@ -34,7 +34,7 @@ iree_status_t create_sample_device(iree_allocator_t host_allocator, iree_vm_instance_release(instance); // Use the default host allocator for buffer allocations. - iree_string_view_t identifier = iree_make_cstring_view("vmvx"); + iree_string_view_t identifier = iree_make_cstring_view("local-sync"); iree_hal_allocator_t* device_allocator = NULL; if (iree_status_is_ok(status)) { status = iree_hal_allocator_create_heap(identifier, host_allocator, diff --git a/samples/simple_vec_mul/device_static_sync.c b/samples/simple_vec_mul/device_static_sync.c index 8a3c5d5..fee0db1 100644 --- a/samples/simple_vec_mul/device_static_sync.c +++ b/samples/simple_vec_mul/device_static_sync.c @@ -34,7 +34,7 @@ iree_status_t create_sample_device(iree_allocator_t host_allocator, iree_hal_executable_import_provider_null(), host_allocator, loader); // Use the default host allocator for buffer allocations. - iree_string_view_t identifier = iree_make_cstring_view("sync"); + iree_string_view_t identifier = iree_make_cstring_view("local-sync"); iree_hal_allocator_t* device_allocator = NULL; if (iree_status_is_ok(status)) { status = iree_hal_allocator_create_heap(identifier, host_allocator, diff --git a/samples/simple_vec_mul/device_vmvx_sync.c b/samples/simple_vec_mul/device_vmvx_sync.c index 0b17ecb..c490137 100644 --- a/samples/simple_vec_mul/device_vmvx_sync.c +++ b/samples/simple_vec_mul/device_vmvx_sync.c @@ -32,7 +32,7 @@ iree_status_t create_sample_device(iree_allocator_t host_allocator, iree_vm_instance_release(instance); // Use the default host allocator for buffer allocations. - iree_string_view_t identifier = iree_make_cstring_view("vmvx"); + iree_string_view_t identifier = iree_make_cstring_view("local-sync"); iree_hal_allocator_t* device_allocator = NULL; if (iree_status_is_ok(status)) { status = iree_hal_allocator_create_heap(identifier, host_allocator, diff --git a/samples/static_library/static_library_demo.c b/samples/static_library/static_library_demo.c index 525a8a1..2c2f266 100644 --- a/samples/static_library/static_library_demo.c +++ b/samples/static_library/static_library_demo.c @@ -44,7 +44,7 @@ iree_status_t create_device_with_static_loader(iree_allocator_t host_allocator, &library_loader); // Use the default host allocator for buffer allocations. - iree_string_view_t identifier = iree_make_cstring_view("sync"); + iree_string_view_t identifier = iree_make_cstring_view("local-sync"); iree_hal_allocator_t* device_allocator = NULL; if (iree_status_is_ok(status)) { status = iree_hal_allocator_create_heap(identifier, host_allocator, diff --git a/samples/vision_inference/static_library_mnist.c b/samples/vision_inference/static_library_mnist.c index 429341f..592fc65 100644 --- a/samples/vision_inference/static_library_mnist.c +++ b/samples/vision_inference/static_library_mnist.c @@ -53,7 +53,7 @@ iree_status_t create_device_with_static_loader(iree_allocator_t host_allocator, &library_loader); // Use the default host allocator for buffer allocations. - iree_string_view_t identifier = iree_make_cstring_view("sync"); + iree_string_view_t identifier = iree_make_cstring_view("local-sync"); iree_hal_allocator_t* device_allocator = NULL; if (iree_status_is_ok(status)) { status = iree_hal_allocator_create_heap(identifier, host_allocator, diff --git a/third_party/iree b/third_party/iree index b8370b8..d39c3c5 160000 --- a/third_party/iree +++ b/third_party/iree @@ -1 +1 @@ -Subproject commit b8370b8c3a9edfdd95f2bbd2cc303751649e54c7 +Subproject commit d39c3c56682e006e842b32aa6f38c272f77c8f3c