|
mxnet
|
OMP Exception class catches, saves and rethrows exception from OMP blocks. More...
#include <common.h>

Public Member Functions | |
| template<typename Function , typename... Parameters> | |
| void | Run (Function f, Parameters... params) |
| Parallel OMP blocks should be placed within Run to save exception. More... | |
| void | Rethrow () |
| should be called from the main thread to rethrow the exception More... | |
OMP Exception class catches, saves and rethrows exception from OMP blocks.
|
inline |
should be called from the main thread to rethrow the exception
|
inline |
Parallel OMP blocks should be placed within Run to save exception.
1.8.13