[msl] Add support for arrays to CooperativeTensor When a cooperative tensor appears as the element of an array, wrap it in a pointer to a local variable. Rework construct and add helpers to recursively fill and copy tensor variables. Add handling for `access` instructions that rewrite the types and introduce an extra load if needed. Allow pointer-to-pointer in the validator when the relevant property is enabled. Bug: 555437691 Change-Id: I5ea11c28c7f51957ac31180bbb1e49696f8bf6e3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/343435 Reviewed-by: Alan Baker <alanbaker@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.