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.
Support batch mode in parallel external source (NVIDIA#3397)
* Support callables, iterators and generators returning batches in parallel ES * Make workers pull tasks instead of pushing them (for callable sources) * Assign dedicated workers for iterators and generators * Move prefetched tasks counting from external source to pool * Replace pipes in IPC with fixed-size shared memory based queues * Close shared memory handles in the main process once they are set-up in workers Signed-off-by: Kamil Tokarski <[email protected]>
- Loading branch information
Showing
23 changed files
with
2,526 additions
and
870 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
Oops, something went wrong.