Skip to content
This repository was archived by the owner on Apr 28, 2023. It is now read-only.
This repository was archived by the owner on Apr 28, 2023. It is now read-only.

Shared memory promotion: reuse memory in disjoint subtrees #555

@ftynse

Description

@ftynse

With #537, it is possible to promote to shared memory at disjoint subtrees. Tthe maxSharedMemory option controls the total amount of shared memory used by all subtrees, whereas the same shared memory can be reused in different subtrees because they represent non-overlapping computations and copies are scoped in the same subtree. Note that this requires to pre-allocate buffers in shared memory and use them for different parts of promoted tensors in different subtrees because the downstream compiler cannot do this for us.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions