[M147] Fix TSAN error in SetLabel Original change's description: > Fix TSAN error in SetLabel > > Move the device guard higher, to the API layer only when > UseUserDefinedLabelsInBackend is enabled, to avoid lock inversion bugs. > > Bug: 479457809 > Change-Id: I1f8696b5c79a8c8ebbc517d692ec72ad8cc0c211 > Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/299715 > Reviewed-by: Corentin Wallez <cwallez@chromium.org> > Commit-Queue: Quyen Le <lehoangquyen@chromium.org> (cherry picked from commit 91e1f25b080a165d39b2d5683df5c8b80fc000e7) Bug: 497131539,479457809 Change-Id: I1f8696b5c79a8c8ebbc517d692ec72ad8cc0c211 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/300536 Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Chrome Cherry Picker <chrome-cherry-picker@chops-service-accounts.iam.gserviceaccount.com> Commit-Queue: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.