-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refs #6: Backport datablock reuse optimization and refactor I/O loops.
* Merry Christmas! * Adds "io_base" concept to pipeline multiple offload tasks in each worker thread and allow reuse of datablocks in subsequent offloadable elements. - Differently from historical initial implementation, we now reuse offload task objects WITHOUT re-aggregation of batches between subsequent offloadable elements. - For this, elementgraph->tasks now holds both PacketBatch and OffloadTask using a bitmask type specifier on void* pointers in the ring. Depending on the task type, ElementGraph now chooses whether to run the normal pipeline loop or to feed offloadable elements so that they begin the offloading process immediately. * Preserves generalization of batching schemes. (Yes, it was a huge manual merge job..) * TODO: GPU versions do not work yet (as always expected). Let's debug!
- Loading branch information
Showing
24 changed files
with
1,087 additions
and
821 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
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.