Commit 1b59c6e
[WebNN] Support device tensor for WebGPU EP on ORT backend
Device tensor is already supported for OpenVINO EP on ORT backend in
[1], this CL supports device tensor for WebGPU EP on ORT backend. The
main difference is that device tensor is only used when WebNN developers
do not need to access the underlying data, because the WebGPU EP does
not allow clients to access underlying tensors directly.
[1] https://chromium-review.googlesource.com/c/chromium/src/+/6972837
Bug: 445971854
Change-Id: Iff08fde488117c2c9dabbe7a7bb66d53f850726d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7088044
Reviewed-by: Rafael Cintron <[email protected]>
Reviewed-by: Hu, Ningxin <[email protected]>
Commit-Queue: Wang, Wei4 <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1549642}1 parent 6bfc921 commit 1b59c6e
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1330 | 1330 | | |
1331 | 1331 | | |
1332 | 1332 | | |
| 1333 | + | |
| 1334 | + | |
| 1335 | + | |
| 1336 | + | |
| 1337 | + | |
| 1338 | + | |
| 1339 | + | |
| 1340 | + | |
| 1341 | + | |
| 1342 | + | |
| 1343 | + | |
| 1344 | + | |
| 1345 | + | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
1333 | 1355 | | |
1334 | 1356 | | |
1335 | 1357 | | |
| |||
0 commit comments