Skip to content

Add EVENT handles to the happens-before graph for DMA resource allocation #8

Description

@Garfee023

FUTURE handles are added to the SALA happens-before graph (HBGraph) via
AddBinding, so the DMA allocator can share a slot between async phases that
provably cannot overlap. EVENT handles are not, so the allocator may
over-serialize GPU events: events that can never overlap still interfere and
consume distinct named-barrier slots (or spill to scalar mbarriers).

Task: give EVENT handles the same HBGraph binding as FUTURE handles so
LivenessAnalyzer exposes event overlap, and the DmaResourceAllocator
FindHBGraph / hb_override logic naturally covers events.

See Documents/Developer/dma-resource-allocation.md ("SALA binding for
events").

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions