| commit | d7d27a68de5f547939d4faf965b0ce279e752b64 | [log] [tgz] |
|---|---|---|
| author | James Price <jrprice@google.com> | Fri Oct 03 13:59:21 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 03 13:59:21 2025 -0700 |
| tree | dc60b4660615c769247d947b1e68e40d71b5f897 | |
| parent | 43d8fb0293947a3fec5c9ba187f16a9176597d31 [diff] |
[metal] Expose the exact subgroup size for Apple GPUs Apple GPUs have a fixed subgroup size of 32. Exposing the actual subgroup size makes it easier to write high performing shaders, particularly when using the subgroup matrix extension which requires the workgroup size to be a multiple of the maximum subgroup size. This does not increase the ability to fingerprint these devices, since the presence of the subgroup matrix extension on Metal is already an indication that the device is an Apple GPU. Fixed: 416313648 Change-Id: Iaa701d290cae2531a77b14c83b5b7e6d375f6de0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/264274 Reviewed-by: Peter McNeeley <petermcneeley@google.com> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: Kai Ninomiya <kainino@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.