-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cuda] Optimize device signal to host wait synchronization
When we have a device `CUevent` signaling past a desired timepoint waited by the host, we can actually wait on the `CUevent` using `cuEventSynchronize`. This is profiled to be quite faster than waiting on the full flow of device singal -> cuLaunchHostFunc (async) -> host signal -> host polling.
- Loading branch information
1 parent
6e04816
commit b313a9b
Showing
3 changed files
with
61 additions
and
21 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