| commit | 1a95a0a500099a285bfdfd9ea0682afcc89c7c31 | [log] [tgz] |
|---|---|---|
| author | Jiawei Shao <jiawei.shao@intel.com> | Wed Jun 11 17:57:14 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 11 17:57:14 2025 -0700 |
| tree | 72e9c27c060089e0a7c7f99ef8ef1a56d1320e09 | |
| parent | a6663fdf2abed650dea5f8dfb635acb10aa61b92 [diff] |
[wgsl] Support `i8` and `u8` in `subgroupMatrixMultiply{Accumulate}`
This patch supports the overloads of `subgroupMatrixMultiply()` and
`subgroupMatrixMultiplyAccumulate()` with subgroup matrices using
`i8` and `u8` as elements.
This patch also cleans up the core.def and wgsl.def by only keeping
the below overloads of subgroupMatrixMultiply{Accumulate}:
- f16 -> f16_f32
- f32 -> f32
- iu8 -> iu32_iu8
- iu32 -> iu32
Bug: 348702031, 403609083
Test: tint_unittests
Change-Id: If5d79212a763a8b3ff8c1520843d265f04a08387
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/246034
Reviewed-by: James Price <jrprice@google.com>
Commit-Queue: James Price <jrprice@google.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.