Closed Bug 1903329 Opened 17 days ago Closed 11 days ago

Ship Float16Array

Categories

(Core :: JavaScript Engine, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
relnote-firefox --- ?
firefox129 --- fixed

People

(Reporter: dminor, Assigned: dminor)

References

(Blocks 2 open bugs)

Details

(Keywords: dev-doc-needed)

Attachments

(5 files)

I'm planning to ship Float16Array in Firefox 129.

Severity: -- → N/A
Priority: -- → P2
Blocks: 1903347
Keywords: dev-doc-needed
See Also: → webgpu-f16

Depends on D214259

Depends on D214260

Depends on D214596

Pushed by dminor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f098562d31b8
Ship Float16Array; r=nbp
https://hg.mozilla.org/integration/autoland/rev/8cf04c424f91
Update test expectations; r=peterv
https://hg.mozilla.org/integration/autoland/rev/fd17e226fbe8
Update non262 TypedArray tests; r=nbp
https://hg.mozilla.org/integration/autoland/rev/a9a0cdc5a852
Enable Float16 in JSStructuredCloneReader::readTypedArray; r=nbp
https://hg.mozilla.org/integration/autoland/rev/04e9c2dafe58
Update wpt expectations; r=nbp
Type: task → enhancement

:dminor anything you want to nominate for a release note?

Flags: needinfo?(dminor)

Release Note Request (optional, but appreciated)
[Why is this notable]: This adds a new variety of typed array that is particularly useful for transferring data to the GPU for things like graphics and ai models.
[Affects Firefox for Android]:
[Suggested wording]: Float16Array typed arrays are now supported, along with new DataView methods for reading and setting Float16 values, and a Math.f16round() static method that can be used to round numbers to 16 bits. The new type is useful for sharing data with a GPU, in particular for use cases where it makes sense to trade off precision for memory consumption.
[Links (documentation, blog post, etc)]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float16Array

relnote-firefox: --- → ?
Flags: needinfo?(dminor)

Thanks, added to the Fx129 nightly release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx129 release notes

You need to log in before you can comment on or make changes to this bug.