sw/vec_iree: fix breakage due to IREE device API change Making the similar changes as in IREE upstream (https://github.com/iree-org/iree/commit/e9006927d10635ea475d34d545dba5175b2ac2b8) Change-Id: I2a5f69f2bc3c377907e1885d93444d5a59b19da0
diff --git a/device/device_static_loader.c b/device/device_static_loader.c index cff099f..0a6a22f 100644 --- a/device/device_static_loader.c +++ b/device/device_static_loader.c
@@ -64,7 +64,7 @@ } // 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/device/device_vmvx_loader.c b/device/device_vmvx_loader.c index 16fa478..c49076f 100644 --- a/device/device_vmvx_loader.c +++ b/device/device_vmvx_loader.c
@@ -42,7 +42,7 @@ 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,