sw:vec_iree: Fix buffer_view_wrapper API call

The input arguments are swapped by accident.
This would partially fix b/208112327 with tensor
encoding mismatch.

Change-Id: Ib2e0ea1b7f1442f99428eb654d0b68b530823f7d
diff --git a/samples/util/util.c b/samples/util/util.c
index fd9ac00..8d04abd 100644
--- a/samples/util/util.c
+++ b/samples/util/util.c
@@ -35,9 +35,9 @@
     if (iree_status_is_ok(result)) {
       result = iree_hal_buffer_view_wrap_or_clone_heap_buffer(
           iree_hal_device_allocator(device), model->input_shape[i],
-          model->num_input_dim[i], model->hal_element_type, input_memory_type,
-          IREE_HAL_ENCODING_TYPE_DENSE_ROW_MAJOR, IREE_HAL_MEMORY_ACCESS_READ,
-          IREE_HAL_BUFFER_USAGE_ALL,
+          model->num_input_dim[i], model->hal_element_type,
+          IREE_HAL_ENCODING_TYPE_DENSE_ROW_MAJOR, input_memory_type,
+          IREE_HAL_MEMORY_ACCESS_READ, IREE_HAL_BUFFER_USAGE_ALL,
           iree_make_byte_span(arg_buffers[i], model->input_size_bytes[i] *
                                                   model->input_length[i]),
           iree_allocator_null(), &(arg_buffer_views[i]));