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

Shared memory promotion: reuse memory in disjoint subtrees #555

Open
ftynse opened this issue Jul 5, 2018 · 0 comments
Open

Shared memory promotion: reuse memory in disjoint subtrees #555

ftynse opened this issue Jul 5, 2018 · 0 comments
Labels
enhancement New feature or request polyhedral

Comments

@ftynse
Copy link
Contributor

ftynse commented Jul 5, 2018

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.

@ftynse ftynse added polyhedral enhancement New feature or request labels Jul 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request polyhedral
Projects
None yet
Development

No branches or pull requests

1 participant