forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NPU] Add pfn build log to pfn-related function (openvinotoolkit#26772)
There are many OPENVINO_THROW, OPENVINO_ASSERT inside https://github.com/openvinotoolkit/openvino/blob/master/src/plugins/intel_npu/src/compiler/src/zero_compiler_in_driver.cpp, call getLatestBuildError to show error info when pfn-related function is called and remove exception handle fuction that would never be called. Use a macro THROW_ON_FAIL_FOR_LEVELZERO_EXT to simplify exception handling code. There are two functions zeroUtils::throwOnFail() in zero_utils.hpp, but only the two-parameters function zeroUtils::throwOnFail() is actually used. And zeroUtils::throwOnFail() will use its code location instead of the real location where issue happen, so use a macro THROW_ON_FAIL_FOR_LEVELZERO instead of the function zeroUtils::throwOnFail() with two parameters. Function zeroUtils::throwOnFail() with three parameters is preserved. - [EISW-139871](https://jira.devtools.intel.com/browse/EISW-139871)
- Loading branch information
1 parent
2ceba1e
commit f74635f
Showing
9 changed files
with
163 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.