Skip to content

Commit 03eff77

Browse files
committed
fix: constructor clause
1 parent 81c1a6d commit 03eff77

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

cmake/src/runtime.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ call(iree_vm_instance_t *instance, iree_hal_device_t *device, std::string driver
354354
const iree_hal_dim_t *out_shape = iree_hal_buffer_view_shape_dims(output_buffer_view);
355355
iree_hal_element_type_t out_type = iree_hal_buffer_view_element_type(output_buffer_view);
356356

357-
auto tensor = new iree::runtime::IREETensor(output_buffer_view, out_type);
357+
auto tensor = new iree::runtime::IREETensor(output_buffer_view, out_type, device);
358358
tensor->dims = std::vector<iree_hal_dim_t>();
359359
for (int j = 0; j < out_shape_rank; j++) {
360360
tensor->dims.push_back(out_shape[j]);

priv/iree-runtime

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../../../../cache/iree-runtime/
1+
../../../../../cache/iree-runtime/

0 commit comments

Comments
 (0)