commit | cb5102de633ddfe0eec113c2c96d7d86516e28fc | [log] [tgz] |
---|---|---|
author | Ningxin Hu <ningxin.hu@intel.com> | Tue Feb 21 08:04:36 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 21 08:04:36 2023 |
tree | 1c79a269ec32c8a5f5807d2fd837d6f93e7873f9 | |
parent | 93e6efc49654c45f1b3817edac8277d28cdbb42c [diff] |
WebNN: Stop creating subgraph if XNNPACK initialization fails This CL fixes an issue of MLGraphXnnpack::BuildOnBackgroundThread() method that when XNNPACK initialization fails, it ignores the error, continues to create XNNPACK subgraph and reports the failure of xnn_create_subgraph() eventually. Instead, the implementation should stop and report the failure of xnn_initialize(). The XNNPACK initialization failure may be caused by the failure of cpuinfo initialization for the Linux Debug build [1]. [1]: https://chromium-review.googlesource.com/c/chromium/src/+/4232577/comments/c7aeb39e_d60b9c80 Bug: 1273291 Change-Id: Ia3d9263fbd67bb1c2f6006afcc60374994bbc637 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4273588 Reviewed-by: Jiewei Qian <qjw@chromium.org> Commit-Queue: ningxin hu <ningxin.hu@intel.com> Cr-Commit-Position: refs/heads/main@{#1107622}
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.