forked from NVIDIA/DALI
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Asynchronous pool memory resource (NVIDIA#2814)
* Add asyncrhonous pool - allocate from a common pool or a per-stream pending free list - deallocate to per-stream pending free list - allow immediate recycling on a per-stream basis - return free blocks to global pool based on event completion * Add try_allocate_from_free to syncrhonous pool - it tries to use free list but never fall backs to upstream and it doesn't throw OOM if there's insufficient memory in the free list * Fix thrust/cub inclusion * Add typedefs for map and set with pooling allocator. Signed-off-by: Michał Zientkiewicz <[email protected]>
- Loading branch information
Showing
13 changed files
with
971 additions
and
14 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.