Closed Bug 1912525 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 47554 - webnn: Initialize memory allocated for CoreML and TFLite-based MLBuffers

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
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

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

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/44df91034efe [wpt PR 47554] - webnn: Initialize memory allocated for CoreML and TFLite-based MLBuffers, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.