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
[Stream] Assign resource affinity based on usage (not just assigned execution affinity) with multiple potential affinities. #20855
Near the end of the iree-stream-cmd-transformation-pipeline we have the total set of allocations and their usage in the program. A new RefineResourceAffinitiesPass that performed an affinity analysis per allocation to find all usage should reschedule the allocations to be performed on the optimal device (#20857). Since the selection logic is deterministic at runtime all deallocations for such allocations should also be changed. This could happen before ARC (where there may be some deallocations) or after (where we have them all).
The affinity attr joinOR method can be used to join the affinities and produce the final set which may be the same device but with multiple queues or different devices turned into a #hal.device.optimal<...> affinity.
Activity
Adding tryLookupResourceUsageAffinity.
Adding tryLookupResourceUsageAffinity.
Adding tryLookupResourceUsageAffinity.
Adding tryLookupResourceUsageAffinity. (#20891)
Adding support for `#hal.device.optimal<...>` through to runtime. (#2…
Assign optimal affinities to allocations during ScheduleAllocation.
Assign optimal affinities to allocations during ScheduleAllocation.
Assign optimal affinities to allocations during ScheduleAllocation.
Assign optimal affinities to allocations during ScheduleAllocation.
Assign optimal affinities to allocations during ScheduleAllocation.
Assign optimal affinities to allocations during ScheduleAllocation. (#…
Adding tryLookupResourceUsageAffinity. (#20891)
Adding support for `#hal.device.optimal<...>` through to runtime. (#2…
Assign optimal affinities to allocations during ScheduleAllocation. (#…