Provide host memory allocation/release callbacks to the copies#318
Open
devreal wants to merge 2 commits intoTESSEorg:masterfrom
Open
Provide host memory allocation/release callbacks to the copies#318devreal wants to merge 2 commits intoTESSEorg:masterfrom
devreal wants to merge 2 commits intoTESSEorg:masterfrom
Conversation
Allow PaRSEC to allocate host memory on demand, e.g., when data is evicted or we move data to a host task. Most data may never be needed on the host so it is wasteful to allocate it eagerly. Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
This branch contains features needed now and in the future by TTG. Once they have been merged into PaRSEC mainline we can switch back. Signed-off-by: Joseph Schuchart <joseph.schuchart@stonybrook.edu>
a2878ce to
a49eb91
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allocate host memory on demand, only when really needed (e.g., when PaRSEC decides to evict memory from the device to the host). With the umpire pinned memory allocator it is important to keep host memory allocations as few as possible so we cannot afford to back every buffer with pinned memory. This PR uses a change in PaRSEC (ICLDisco/parsec#711) to allow PaRSEC to ask us to allocate host memory. This change is included in a fork of PaRSEC so we change the PaRSEC reference similar to #316. Once everything has found its way into upstream PaRSEC we will return to it.