[G-API] Handle errors in IEBackend & modeling tool#21579
Merged
alalek merged 3 commits intoopencv:4.xfrom Feb 9, 2022
Merged
Conversation
mpashchenkov
approved these changes
Feb 9, 2022
2077260 to
7089bf4
Compare
TolyaTalamanov
commented
Feb 9, 2022
TolyaTalamanov
commented
Feb 9, 2022
| t.run(request); | ||
| } | ||
|
|
||
| void cv::gimpl::ie::RequestPool::callback(cv::gimpl::ie::RequestPool::Task task, |
Contributor
Author
There was a problem hiding this comment.
Filed a task to fix this mess
Contributor
Author
|
@alalek Could you merge it? |
alalek
reviewed
Feb 9, 2022
| // Let's set the empty one to cause the destruction of a callback. | ||
| request.SetCompletionCallback([](){}); | ||
| m_idle_ids.push(id); | ||
| } catch (std::exception& e) { |
| if (eptrs[i] != nullptr) { | ||
| try { | ||
| std::rethrow_exception(eptrs[i]); | ||
| } catch (std::exception& e) { |
Contributor
Author
|
@alalek CI is green |
TolyaTalamanov
added a commit
to TolyaTalamanov/opencv
that referenced
this pull request
Feb 18, 2022
…in-iebackend [G-API] Handle errors in IEBackend & modeling tool * Handle errors in IEBackend & modeling tool * Handle exceptions in callback * Add const cv to exception
Merged
a-sajjad72
pushed a commit
to a-sajjad72/opencv
that referenced
this pull request
Mar 30, 2023
…in-iebackend [G-API] Handle errors in IEBackend & modeling tool * Handle errors in IEBackend & modeling tool * Handle exceptions in callback * Add const cv to exception
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.
Build configuration
force_builders=Custom,Custom Win,Custom Mac
build_gapi_standalone:Linux x64=ade-0.1.1f
build_gapi_standalone:Win64=ade-0.1.1f
build_gapi_standalone:Mac=ade-0.1.1f
build_gapi_standalone:Linux x64 Debug=ade-0.1.1f
Xbuild_image:Custom=centos:7
Xbuildworker:Custom=linux-1
build_gapi_standalone:Custom=ade-0.1.1f
build_image:Custom=ubuntu-openvino-2021.4.1:20.04
build_image:Custom Win=openvino-2021.4.1
build_image:Custom Mac=openvino-2021.4.1
test_modules:Custom=gapi,python2,python3,java
test_modules:Custom Win=gapi,python2,python3,java
test_modules:Custom Mac=gapi,python2,python3,java
buildworker:Custom=linux-1
disabled due high memory usage: test_opencl:Custom=ON
test_opencl:Custom=OFF
test_bigdata:Custom=1
test_filter:Custom=*