[wpt-sync] Sync PR 62756 - webnn: cover triangular masking edge cases
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
149.05 KB,
text/plain
|
Details |
Sync web-platform-tests PR 62756 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62756
Details from upstream follow.
Matt Hargett <plaztiksyke@gmail.com> wrote:
webnn: cover triangular masking edge cases
Add float32, float16 and int32 cases for
triangular():
- A 3x3 upper triangle with diagonal -1. Existing 2x3 cases cannot distinguish retaining one lower diagonal from retaining the whole matrix.
- Excluded diagonals containing NaN and infinities, while retained infinities preserve their signs.
- Int32 boundary values and odd integers beyond float32's exact range, which must be retained without rounding.
The existing zero-ULP tolerance is unchanged. With RustNN's CoreML backend, the prior implementation passes the 34 existing cases and fails all eight additions; the corrected implementation passes all 42 with no skips. The numerical audit reports zero floating-point and integer error for the additions.
WPT lint and JavaScript syntax checks pass.
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=94572
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 327 tests
Status Summary
Firefox
OK : 3
FAIL: 3
Chrome
OK : 3
PASS: 117
FAIL: 12
Safari
OK : 3
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•