commit | 9392c0438383a8a7cdad2b5aa2afd73cf1b8fcc5 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Tue Apr 09 00:06:52 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 09 00:06:52 2024 +0000 |
tree | da120a6a8a50d9b2234ec0aa0ec4db698a8c127b | |
parent | 2278c09ee8641337624f3931fd7defb14536b218 [diff] |
test_runner.js: Reuse web workers (and devices) between CTS tests This is necessary to run more than a few tests on the worker test steps; otherwise they quickly run up against limits on the number of GPUDevices that can be alive at once (which is due to some separate leak / slow GC issue, which is harder to fix). This was also the cause of all of the OOMs when I accidentally started running all tests on workers: https://crbug.com/330573129#comment9 Bug: chromium:331351978, chromium:330596242, dawn:2479 Change-Id: I3c6477dae9088370a6cc2825e42dfec38eb43fcc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/182421 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Brian Sheedy <bsheedy@chromium.org> Reviewed-by: 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.