Skip to content

Commit

Permalink
Integrate IREE at iree-org/iree@d39c3c5 (#343)
Browse files Browse the repository at this point in the history
Updates IREE usage to match iree-org/iree@d39c3c5 and
candidate-20240730.970, respectively.
  • Loading branch information
marbre authored Sep 18, 2024
1 parent 84d9e02 commit ce25903
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion iree-release-link.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion requirements-compiler.txt
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions requirements-tools.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion samples/simple_embedding/device_embedded_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion samples/simple_embedding/device_vmvx_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion samples/simple_vec_mul/device_static_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion samples/simple_vec_mul/device_vmvx_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion samples/static_library/static_library_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion samples/vision_inference/static_library_mnist.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion third_party/iree
Submodule iree updated 302 files

0 comments on commit ce25903

Please sign in to comment.