commit | 857f21e8b50446446b2e7f2bd4ee6dd620c017bf | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed May 11 15:15:55 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 11 15:15:55 2022 +0000 |
tree | 4168dd5a66469b0a5cc237ca2c97229573c0f612 | |
parent | 8e68f0aad7c3994ddbd1914a48d82c43dd6e7e56 [diff] |
Fix race condition on metal backend with mCompletedSerial. There is currently a race condition in the metal backend with the updating of `mCompletedSerial`. It is currently possible for the `addCompletedHandler` to set to one value and then have the `CheckAndUpdateCompletedSerial` call immediately set it back to a lower value. This can then cause hangs as the serial never correctly updates again. This was happening on `dawn.node` when running a large number of CTS test cases all at the same time. Change-Id: I28fc58ab2b3737ca8039559718e539ce819e88bb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/89780 Auto-Submit: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.