commit | d9e2d1f718678ebee0728b999830576c410cce0a | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Nov 28 22:03:12 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 28 22:03:12 2024 +0000 |
tree | 626dd710980e2686bdf2fa33b0620ed3417ffe1f | |
parent | 25379d3d4d239503737773f27391ecbc5ab6afc2 [diff] |
[ir] Add loop hardening transform This transform injects an additional loop index into loops that might be infinite, which bounds them to a maximum of 2^64 iterations. This can be used by all backends to avoid the potential for undefined behavior to cause problems in downstream compiler stacks. Bug: 380090814 Change-Id: Icdc952406ceee36389d7845f09e80b125f74340c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/217256 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: David Neto <dneto@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.