-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change GPU watchdog timeout init factor from 2 to 1 on Windows
When we first set the GPU watchdog timeout length for the gpu initialization on Windows, we doubled the timeout length due to some slow library loads on Windows. Now we pause the watchdog before loading libraries. We should be able to switch back to the normal timeout length. The current histogram shows we have far less watchdog kills in GPU initialization than in normal work flow. That's a hint we can make the timeout shorter for the GPU initialization. Add inlining constexpr variable definitions in headers outside of classes to avoid unnecessary copies of the constant. See https://abseil.io/tips/168 for more details. Change-Id: I3a8dccebeec5dfe828906682637e8b55beb87f45 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4956709 Reviewed-by: Zhenyao Mo <zmo@chromium.org> Auto-Submit: Maggie Chen <magchen@chromium.org> Commit-Queue: Maggie Chen <magchen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1213096}
- Loading branch information
Maggie Chen
authored and
Chromium LUCI CQ
committed
Oct 21, 2023
1 parent
d9e12eb
commit 27c2c18
Showing
4 changed files
with
11 additions
and
33 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