commit | 7385fbf347f370f1ade238de12798226e33f43d1 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Aug 23 16:56:34 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 23 16:56:34 2023 +0000 |
tree | 501181dff95314bc93e20e26dd939d92d9be4077 | |
parent | e0e114bd4a20981b83d98ebb48038711da1ed0f7 [diff] |
[eval] Remove template param from TransformBinaryDifferingArityElements All of the callers use the same signature for the lambda function. This CL defines an `BinaryTransfrom` std::function which is used instead of the template parameter. There are 65 separate copies of this function in the current chrome canary. One for each template usage. Each of those copies takes .25kb of space in the binary for a total of ~16k. Change-Id: Ifeebe3710f119ab395290fed7906a520c87815f1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/148280 Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
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.