[wpt-sync] Sync PR 47554 - webnn: Initialize memory allocated for CoreML and TFLite-based MLBuffers
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox131 fixed)
| Tracking | Status | |
|---|---|---|
| firefox131 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 47554 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/47554
Details from upstream follow.
Reilly Grant <reillyg@chromium.org> wrote:
webnn: Initialize memory allocated for CoreML and TFLite-based MLBuffers
base::AlignedAlloc and +[MLMultiArray alloc] do not initialize the
memory they allocate so we need to do it ourselves. Adds a new test to
check that the value of a newly created MLBuffer is well-defined.Fixed: 358409285
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel,mac14-blink-rel
Change-Id: I1a0bdce492108c0ce5f340db627c6fcb20b6f054
Reviewed-on: https://chromium-review.googlesource.com/5773800
WPT-Export-Revision: 51fa66a1fcb840bce08cc43534320b9f37c74f13
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 6 tests and 33 subtests
Status Summary
Firefox
FAIL : 6
ERROR: 6
Chrome
OK : 6
PASS : 192
FAIL : 6
Safari
FAIL : 6
ERROR: 6
Links
Details
New Tests That Don't Pass
- /webnn/conformance_tests/buffer.https.any.html?cpu [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/conformance_tests/buffer.https.any.worker.html?npu [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/conformance_tests/buffer.https.any.html?npu [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/conformance_tests/buffer.https.any.html?gpu [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/conformance_tests/buffer.https.any.worker.html?cpu [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
- /webnn/conformance_tests/buffer.https.any.worker.html?gpu [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
FAIL(Chrome:PASS, Safari:FAIL)
- assert_not_equals(navigator.ml, undefined, "ml property is defined on navigator"):
Description
•