-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GPU] Remove force exit #29062
base: master
Are you sure you want to change the base?
[GPU] Remove force exit #29062
Conversation
069b3ae
to
4303cdc
Compare
4303cdc
to
4674fa4
Compare
4674fa4
to
d223bb4
Compare
samples/cpp/benchmark_app/main.cpp
Outdated
@@ -250,9 +250,8 @@ void fuse_mean_scale(ov::preprocess::PrePostProcessor& preproc, const benchmark_ | |||
*/ | |||
int main(int argc, char* argv[]) { | |||
std::shared_ptr<StatisticsReport> statistics; | |||
ov::CompiledModel compiledModel; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it required?
have you changed a behavior ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compiled model to be kept in try...catch block. The exception to be caught and processed for "[GPU] CL_OUT_OF_RESOURCES exception". In this case exit -1 to be done on application level in order to avoid consequent crashes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted
samples/cpp/benchmark_app/main.cpp
Outdated
@@ -250,9 +250,8 @@ void fuse_mean_scale(ov::preprocess::PrePostProcessor& preproc, const benchmark_ | |||
*/ | |||
int main(int argc, char* argv[]) { | |||
std::shared_ptr<StatisticsReport> statistics; | |||
ov::CompiledModel compiledModel; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compiled model to be kept in try...catch block. The exception to be caught and processed for "[GPU] CL_OUT_OF_RESOURCES exception". In this case exit -1 to be done on application level in order to avoid consequent crashes
d223bb4
to
89d4f5d
Compare
Tickets: