Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jade-cho
Copy link
Contributor

Tickets:

  • 162459

@jade-cho jade-cho requested review from a team as code owners February 19, 2025 06:08
@github-actions github-actions bot added the category: GPU OpenVINO GPU plugin label Feb 19, 2025
@jade-cho jade-cho requested review from a team as code owners February 20, 2025 01:09
@jade-cho jade-cho requested review from ilya-lavrenov and removed request for a team February 20, 2025 01:09
@github-actions github-actions bot added the category: samples OpenVINO Runtime Samples label Feb 20, 2025
@@ -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;
Copy link
Contributor

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 ?

Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted

@@ -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;
Copy link
Contributor

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

@github-actions github-actions bot removed the category: samples OpenVINO Runtime Samples label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: GPU OpenVINO GPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants