-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-introduce the 'blocking' kwargs to at-sync. (#2060)
This can be used to force a blocking, but low-latency synchronization, e.g., when benchmarking code that uses a single task.
- Loading branch information
Showing
8 changed files
with
55 additions
and
28 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
group = addgroup!(SUITE, "cuda") | ||
|
||
let group = addgroup!(group, "synchronization") | ||
let group = addgroup!(group, "stream") | ||
group["blocking"] = @benchmarkable synchronize(blocking=true) | ||
group["auto"] = @benchmarkable synchronize() | ||
group["nonblocking"] = @benchmarkable synchronize(spin=false) | ||
end | ||
let group = addgroup!(group, "context") | ||
group["blocking"] = @benchmarkable device_synchronize(blocking=true) | ||
group["auto"] = @benchmarkable device_synchronize() | ||
group["nonblocking"] = @benchmarkable device_synchronize(spin=false) | ||
end | ||
end |
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