Go to the source code of this file.
|
#define | GRPPI_TRY_PATTERN(E, PATTERN, ...) |
|
#define | GRPPI_PATTERN_NOT_IMPLEMENTED(PATTERN, ...) throw std::runtime_error{"Pattern " #PATTERN " not implemented"}; |
|
#define | GRPPI_TRY_PATTERN_OMP(PATTERN, ...) GRPPI_TRY_PATTERN(parallel_execution_omp,PATTERN,__VA_ARGS__) |
|
#define | GRPPI_TRY_PATTERN_TBB(PATTERN, ...) GRPPI_TRY_PATTERN(parallel_execution_tbb,PATTERN,__VA_ARGS__) |
|
#define | GRPPI_TRY_PATTERN_FF(PATTERN, ...) |
|
#define | GRPPI_TRY_PATTERN_ALL(...) |
|
#define | GRPPI_TRY_PATTERN_ALL_NOFF(...) |
|
◆ GRPPI_PATTERN_NOT_IMPLEMENTED
#define GRPPI_PATTERN_NOT_IMPLEMENTED |
( |
|
PATTERN, |
|
|
|
... |
|
) |
| throw std::runtime_error{"Pattern " #PATTERN " not implemented"}; |
◆ GRPPI_TRY_PATTERN
#define GRPPI_TRY_PATTERN |
( |
|
E, |
|
|
|
PATTERN, |
|
|
|
... |
|
) |
| |
Value:{\
if (supports_##PATTERN<E>()) {\
auto * ex = dynamic_cast<execution<E>*>(execution_.get());\
if (ex) {\
return ex->ex_.PATTERN(__VA_ARGS__);\
}\
}\
}
◆ GRPPI_TRY_PATTERN_ALL
#define GRPPI_TRY_PATTERN_ALL |
( |
|
... | ) |
|
Value:
GRPPI_TRY_PATTERN(parallel_execution_native, __VA_ARGS__) \
GRPPI_TRY_PATTERN_OMP(__VA_ARGS__) \
GRPPI_TRY_PATTERN_TBB(__VA_ARGS__) \
GRPPI_TRY_PATTERN_FF(__VA_ARGS__) \
GRPPI_PATTERN_NOT_IMPLEMENTED(__VA_ARGS__)\
#define GRPPI_TRY_PATTERN(E, PATTERN,...)
Definition: dynamic_execution.h:248
◆ GRPPI_TRY_PATTERN_ALL_NOFF
#define GRPPI_TRY_PATTERN_ALL_NOFF |
( |
|
... | ) |
|
Value:
GRPPI_TRY_PATTERN(parallel_execution_native, __VA_ARGS__) \
GRPPI_TRY_PATTERN_OMP(__VA_ARGS__) \
GRPPI_TRY_PATTERN_TBB(__VA_ARGS__) \
GRPPI_PATTERN_NOT_IMPLEMENTED(__VA_ARGS__)\
◆ GRPPI_TRY_PATTERN_FF
#define GRPPI_TRY_PATTERN_FF |
( |
|
PATTERN, |
|
|
|
... |
|
) |
| |
◆ GRPPI_TRY_PATTERN_OMP
#define GRPPI_TRY_PATTERN_OMP |
( |
|
PATTERN, |
|
|
|
... |
|
) |
| GRPPI_TRY_PATTERN(parallel_execution_omp,PATTERN,__VA_ARGS__) |
◆ GRPPI_TRY_PATTERN_TBB
#define GRPPI_TRY_PATTERN_TBB |
( |
|
PATTERN, |
|
|
|
... |
|
) |
| GRPPI_TRY_PATTERN(parallel_execution_tbb,PATTERN,__VA_ARGS__) |