commit | 1b0f28ec95a4f384ed758ddb01024fe3235454a6 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Feb 14 16:37:46 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 14 16:37:46 2024 +0000 |
tree | 79dcbd022304ff4dcbdac3520d9d03ddd10ed57d | |
parent | 1ee1256660070703f12a3bb5e0bc64f30e3af699 [diff] |
Allow WaitAny to wait with multiple threads on the same handle/fd Internally, separate events may refer to the same SystemEvent. Waiting on this event from multiple threads turns out to be OK. This allows futures to use a fewer total number of handles/fds. Add tests that this works correctly. Bug: dawn:1987 Change-Id: I2bff252c120d75aadcc338a74d8e3ff158a826eb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/173847 Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Austin Eng <enga@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.