| commit | f8d9d1c2155845e51312ca08acb6219293363460 | [log] [tgz] |
|---|---|---|
| author | Lokbondo Kung <lokokung@google.com> | Thu Jul 17 15:01:21 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 17 15:01:21 2025 -0700 |
| tree | 681b42ef3aa9b4989ca49f25bda3f30f28736257 | |
| parent | 5aed126a3997e2ab4b184306880c90594d06e519 [diff] |
[dawn][native] Fixes TSAN issues when running without implicit sync. - When running without implicit synchronization, there isn't a lock protecting access to the Defer object in Device. This resulted in TSAN complaining about potential data races. Instead, if we are not running with implicit synchronization, and hence don't have a device lock, we don't need to create defer object. - Note that this only fixes one of the issues observed in the TSAN runs, and does not completely fix all the issues yet. Include-Ci-Only-Tests: true Change-Id: I9920de121c4443f3f6453f02228fc6c0a2d0e932 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/252294 Auto-Submit: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org>
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.