commit | 4952da15c86df4a584e238caaaca727a92b2c607 | [log] [tgz] |
---|---|---|
author | Phillis Tang <phillis@chromium.org> | Wed Jun 05 22:18:25 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 05 22:18:25 2024 |
tree | 2a6effcedd8744de2030d8f49a66ac262d0efadd | |
parent | 75b570581dfb7d1ec8e45c86a64cd0ffa909b085 [diff] |
webnn: pass device type to coreml Use the deviceType from context to coreml. Maps cpu -> cpuOnly, gpu/npu -> all (cpu&gpu&npu). The MLComputeUnitsCPUAndGPU option is problematic, see crbug.com/344935458. So let gpu targets all compute units for now. All cpu tests should not have precision issue now. Change-Id: Iaa232182b764a8f7fcf64ec8b07624faa10ce139 Bug: 41481333 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5582589 Reviewed-by: Reilly Grant <reillyg@chromium.org> Commit-Queue: Phillis Tang <phillis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1310933}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.