Update params for iree_hal_module creation - Pull request from upstream (https://github.com/iree-org/iree/pull/18966) added an additional parameter to the iree_hal_module_create family, pass along the suggested default value for the new parameter. Change-Id: I1c1ae166ca43521cb3d88171593aafa6a1ff576e
diff --git a/model_util/util.c b/model_util/util.c index a390e84..4833243 100644 --- a/model_util/util.c +++ b/model_util/util.c
@@ -71,6 +71,7 @@ if (iree_status_is_ok(result)) { result = iree_hal_inline_module_create( instance, IREE_HAL_INLINE_MODULE_FLAG_NONE, + iree_hal_module_debug_sink_stdio(stderr), iree_hal_device_allocator(*device), host_allocator, &hal_inline_module); } #endif @@ -90,7 +91,9 @@ iree_vm_module_t *hal_module = NULL; if (iree_status_is_ok(result)) { result = iree_hal_module_create(instance, /*device_count=*/1, device, - IREE_HAL_MODULE_FLAG_NONE, host_allocator, + IREE_HAL_MODULE_FLAG_NONE, + iree_hal_module_debug_sink_stdio(stderr), + host_allocator, &hal_module); } iree_vm_module_t *modules[] = {hal_module, module};