commit | 5cef9178838995c5af0d0ad0a5cd20a998f66a36 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Thu Oct 26 17:57:54 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 26 17:57:54 2023 +0000 |
tree | 754ec1f9fd686d9c1210e9b396e10526ba17352e | |
parent | d9735bc27054075476008744c2f5cafcf54566d2 [diff] |
Free the MTLQueue on Device::Destroy. Previously the MTLQueue was kept alive by the metal::Queue (which didn't have it's DestroyImpl called automatically on Device::Destroy because we need to keep that object alive for backend::Device::DestroyImpl). Causing CtS tests creating a LOT of devices to run out of MTLQueue when they used device.destroy() to control the amount of live device objects. Bug: dawn:2171 Change-Id: I0e2a690a1c7e7b790c565c1a213d0adf049fbb29 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/157963 Reviewed-by: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.