Skip to content
Snippets Groups Projects

Handle exceptions thrown in parallel regions

Merged Peter Bell requested to merge parallel-exceptions into master

I was assuming that exceptions aren't thrown inside of parallel regions because IIRC OpenMP doesn't handle that properly. However, it looks like there is the possibility of bad_alloc expections being thrown by the workspace allocations.

This will propagate the exception to python instead of terminating the whole process.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
Please register or sign in to reply
Loading