commit | bcaec114b0695fd69dc15a3d440c732b4618d9e2 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Tue Oct 10 20:54:59 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 10 20:54:59 2023 +0000 |
tree | 37bed63477444fa2710e282a10b309af2110adcb | |
parent | 174c42e551ba1b82747056cb7fc2b9722082d0d4 [diff] |
Make implicit resource destruction thread-safe - synchronize access to device memory allocators, deletion queues, and residency manager - Remove IsAlive check from ApiObjectBase::Destroy. Untrack already checks if an object is live and removes it from the list in a thread-safe way. - Add basic atomics to ExecutionQueue serials. They may be read during object deletion concurrently while they are updated. Bug: dawn:2069 Change-Id: I48a2121ca27dfbab1db97303b80b1a0039880483 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153481 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com>
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.