WebKit / standards-positions

WebKit's positions on emerging web specifications
https://webkit.org/standards-positions/
240 stars 18 forks source link

WGSL: Packed 4x8 Integer Dot Product (DP4) #298

Closed Kangz closed 5 months ago

Kangz commented 6 months ago

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.

mwyrzykowski commented 5 months ago

Duplicate of https://github.com/WebKit/standards-positions/issues/107 per earlier discussion