dmlc / dmlc-core

A common bricks library for building scalable and portable distributed machine learning.
Apache License 2.0
865 stars 520 forks source link

Add macros for OpenMP exception handling #641

Closed ldesreumaux closed 3 years ago

ldesreumaux commented 3 years ago

See https://github.com/dmlc/xgboost/issues/6664.

This PR adds macros that can be used to collect and rethrow exceptions thrown in OpenMP regions.