Functionality added to the WebGPU/WGSL spec after its first shipment in a browser. Adds support new WGSL builtins to work with 4 8-bit numbers packed in a u32. The new dot product functionality is especially useful for executing machine learning models that work on 8-bit weights.
WebKittens
@mwyrzykowski
Title of the spec
WGSL: Packed 4x8 Integer Dot Product (DP4)
URL to the spec
https://www.w3.org/TR/WGSL/
URL to the spec's repository
https://github.com/gpuweb/gpuweb/
Issue Tracker URL
https://github.com/gpuweb/gpuweb/issues
Explainer URL
https://github.com/gpuweb/gpuweb/issues/2677
TAG Design Review URL
N/A
Mozilla standards-positions issue URL
https://github.com/mozilla/standards-positions/issues/949
WebKit Bugzilla URL
No response
Radar URL
No response
Description
Functionality added to the WebGPU/WGSL spec after its first shipment in a browser. Adds support new WGSL builtins to work with 4 8-bit numbers packed in a
u32
. The new dot product functionality is especially useful for executing machine learning models that work on 8-bit weights.