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.
Mark stage buffers as consumed with stream callback (NVIDIA#712)
This fixes an issue of marking CPU buffers as free before they are consumed by async GPU kernels of Mixed stage (simialr thing for Support stage). Short circuit ReleaseIdx for invalid idxs Introduce kInvalidIdx in queue policy Check if indexes are valid before processing.
- Loading branch information
1 parent
90d2653
commit 796a9f6
Showing
2 changed files
with
89 additions
and
50 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