commit | 3bba9398b39f6bee5898dfc8c1a22a0c529bffb4 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Fri May 16 11:06:20 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 16 11:06:20 2025 -0700 |
tree | 69cc8f00b6ab56b3faa5eb0082457d7509bb0c13 | |
parent | a48c6fc548f82a62265ef83e3aecbb1aeec1eec2 [diff] |
[tint] Add robustness for subgroup matrix builtins They need to be predicated instead of clamped, because we cannot guarantee that the array is large enough for a single matrix. The stride is clamped to be at least as large as the number of rows or columns (depending on the `col_major` parameter). If the stride, offset, and array size are all constants, we can skip predication. Fixed: 403609264 Change-Id: Ic822a1e3bbeb8d28d0443433a034981bcd1185a8 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/242556 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@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.