| commit | 52a8b5a67e5c425a174cd6874a13b8b11fe190af | [log] [tgz] |
|---|---|---|
| author | Jiawei Shao <jiawei.shao@intel.com> | Thu May 08 18:39:07 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 08 18:39:07 2025 -0700 |
| tree | d110a290c1faba90f3ae3cf9461d5ad8c3825d68 | |
| parent | 5ebdc7a77956daadce06a26d305618377918c498 [diff] |
Range Analysis: Compute range of `Binary` with `Add` operator This patch computes the range of a `Binary` with `Add` operator. To compute the range we will first get the range of two operands, and then compute the range of their sum. When any overflow or underflow happen, no valid range will be returned. Bug: 348701956 Test: tint_unittests Change-Id: Ibe6eda96c8c654c3ffe22798472125506d595819 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/241141 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
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.