[wpt-sync] Sync PR 64976 - webnn: add WPT cases for negative and non-constant gather/scatter indices
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox163 fixed)
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
174.33 KB,
text/plain
|
Details |
Sync web-platform-tests PR 64976 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64976
Details from upstream follow.
Shiyi Zou <shiyi.zou@intel.com> wrote:
webnn: add WPT cases for negative and non-constant gather/scatter indices
Most gather/scatter conformance tests only exercise constant indices,
which some backends can validate and normalize at graph build time.
Negative indices passed as a graph input may take a different code path
at runtime, and that path had little or no coverage.This CL adds tests so every gather/scatter op covers both constant and
non-constant indices, with both negative and non-negative values:
- gatherElements: negative-index cases for 1D-5D inputs on various axes,
each with a constant and a non-constant variant, plus non-constant
non-negative cases.- gather, gatherND, scatterElements: non-constant variants of the
existing negative-index cases. gather also adds non-constant
non-negative cases.- scatterND: constant variants of existing negative and non-negative
cases. Previously all of its indices were non-constant.Bug: 553670706
Cq-Include-Trybots: luci.chromium.try:mac14.arm64-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Change-Id: I30795dfcf27fbf06fd68f8f8d47a3215c238c20e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8724001
Reviewed-by: Hu, Ningxin \<ningxin.hu@intel.com>
Commit-Queue: Zou, Shiyi \<shiyi.zou@intel.com>
Cr-Commit-Position: refs/heads/main@{#1741528}
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=122348
| Assignee | ||
Comment 2•9 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 357 tests
Status Summary
Firefox
OK : 15
FAIL: 15
Chrome
OK : 15
PASS: 418
FAIL: 90
Safari
OK : 15
FAIL: 15
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
(See attachment for full changes)
Comment 4•8 days ago
|
||
| bugherder | ||
Description
•