You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Plumb an allocator interface through the C++ runtime API #59
The C API allows for an iree_allocator_t to be passed to all functions that may allocate (directly or indirectly). It'd be nice to carry that through the C++ API such that it can be used for all heap allocations. We can also pass the allocator down through the HAL to let Vulkan use it.
I don't think it's important to get the VM using an allocator - the codegen sequencer will be the choice for low memory consumption/code size.
As part of this it would be worth switching to fixed arrays (not absl::FixedArray, but an actual fixed array), intrusive lists, etc to avoid unneeded allocations of containers.
Activity
benvanik commentedon Nov 21, 2020
(the HAL drivers we care about in core are moving to C)