We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cc6a6f commit 573dac3Copy full SHA for 573dac3
runtime/src/iree/hal/drivers/metal/direct_allocator.m
@@ -69,6 +69,7 @@ iree_status_t iree_hal_metal_allocator_create(
69
70
if (iree_status_is_ok(status)) {
71
iree_hal_resource_initialize(&iree_hal_metal_allocator_vtable, &allocator->resource);
72
+ allocator->parent_device = parent_device;
73
allocator->device = [device retain]; // +1
74
allocator->is_unified_memory = [device hasUnifiedMemory];
75
allocator->resource_tracking_mode = resource_tracking_mode;
0 commit comments