sw/vec_iree: fix compilation error due to upstream change

accommodate upstream change https://github.com/openxla/iree/pull/14674

Change-Id: I1677ce37cafb4b6532e577a185670e717f1e2eee
diff --git a/model_util/util.c b/model_util/util.c
index 983d93e..7d34a53 100644
--- a/model_util/util.c
+++ b/model_util/util.c
@@ -134,12 +134,12 @@
   iree_hal_buffer_params_t buffer_params = {
       .type =
           IREE_HAL_MEMORY_TYPE_HOST_LOCAL | IREE_HAL_MEMORY_TYPE_DEVICE_VISIBLE,
-      .access = IREE_HAL_MEMORY_ACCESS_READ,
+      .access = IREE_HAL_MEMORY_ACCESS_ALL,
       .usage = IREE_HAL_BUFFER_USAGE_DEFAULT};
   for (int i = 0; i < model->num_input; ++i) {
     if (iree_status_is_ok(result)) {
-      result = iree_hal_buffer_view_allocate_buffer(
-          iree_hal_device_allocator(device), model->num_input_dim[i],
+      result = iree_hal_buffer_view_allocate_buffer_copy(
+          device, iree_hal_device_allocator(device), model->num_input_dim[i],
           model->input_shape[i], model->hal_element_type,
           IREE_HAL_ENCODING_TYPE_DENSE_ROW_MAJOR, buffer_params, *byte_span[i],
           &(arg_buffer_views[i]));