github web-platform-tests/wpt merge_pr_48186

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
5 months ago

Reland "WebNN: Flatten adjacent dimensions for GEMM > 4D for DirectML"

This is a reland of commit 0dfa0868aa787cf6d8a32fca83e37ea422b1d0b4

This CL updates the WPT expected results in
matmul.https.any_gpu-expected.txt on win11-arm64-rel-tests.

Original change's description:

WebNN: Flatten adjacent dimensions for GEMM > 4D for DirectML

This CL flattens adjacent dimensions for GEMM > 4D because
DML_GEMM_OPERATOR_DESC[1] restricts tensor's rank <= 4.

[1] https://learn.microsoft.com/en-us/windows/win32/api/directml/ns-directml-dml_gemm_operator_desc

Bug: 353856233
Change-Id: Ifbced3d3081594ec6fdefc3a2d381ba675aba7cf
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5810975
Reviewed-by: ningxin hu ningxin.hu@intel.com
Commit-Queue: Mingming1 Xu mingming1.xu@intel.com
Reviewed-by: Rafael Cintron rafael.cintron@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1354311}

Bug: 353856233
Change-Id: Ia2ae737316d2a328275bdc6063b86b9b0888b51f
Cq-Include-Trybots: luci.chromium.try:win11-blink-rel, mac14.arm64-blink-rel, mac14-blink-rel, mac15.arm64-blink-rel, mac15-blink-rel, linux-blink-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858369
Reviewed-by: Rafael Cintron rafael.cintron@microsoft.com
Reviewed-by: ningxin hu ningxin.hu@intel.com
Commit-Queue: Mingming1 Xu mingming1.xu@intel.com
Cr-Commit-Position: refs/heads/main@{#1355556}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.