FflasFfpack
|
Macros | |
#define | __FFLASFFPACK_SEQUENTIAL |
#define | index_t size_t |
#define | TASK(M, I) {I;} |
#define | WAIT |
#define | CHECK_DEPENDENCIES |
#define | BARRIER |
#define | PAR_BLOCK |
#define | SYNCH_GROUP(Args...) {{Args};} |
#define | THREAD_INDEX 0 |
#define | NUM_THREADS 1 |
#define | SET_THREADS(num_threads) {} |
#define | MAX_THREADS 1 |
#define | READ(Args...) |
#define | WRITE(Args...) |
#define | READWRITE(Args...) |
#define | CONSTREFERENCE(...) |
#define | VALUE(...) |
#define | BEGIN_PARALLEL_MAIN(Args...) int main(Args) { |
#define | END_PARALLEL_MAIN(void) return 0; } |
#define | FORBLOCK1D(iter, m, Helper, Args...) |
#define | FOR1D(i, m, Helper, Args...) |
#define | PARFORBLOCK1D(iter, m, Helper, Args...) |
#define | PARFOR1D(iter, m, Helper, Args...) |
#define | FORBLOCK2D(iter, m, n, Helper, Args...) |
#define | FOR2D(i, j, m, n, Helper, Args...) |
#define | PARFORBLOCK2D(iter, m, n, Helper, Args...) FORBLOCK2D(iter, m, n, Helper, Args) |
#define | PARFOR2D(i, j, m, n, Helper, Args...) FOR2D(i, j, m, n, Helper, Args) |
#define | COMMA , |
#define | MODE(...) __VA_ARGS__ |
#define | RETURNPARAM(f, P1, Args...) P1=f(Args) |
#define | NUMARGS(...) PP_NARG_(__VA_ARGS__,PP_RSEQ_N()) |
#define | PP_NARG_(...) PP_ARG_N(__VA_ARGS__) |
#define | PP_ARG_N( _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, N, ...) N |
#define | PP_RSEQ_N() |
#define | NOSPLIT() FFLAS::ParSeqHelper::Sequential() |
#define | splitting_0() FFLAS::ParSeqHelper::Parallel<FFLAS::CuttingStrategy::Block,FFLAS::StrategyParameter::Threads>() |
#define | splitting_1(a) FFLAS::ParSeqHelper::Parallel<FFLAS::CuttingStrategy::Block,FFLAS::StrategyParameter::Threads>(a) |
#define | splitting_2(a, c) FFLAS::ParSeqHelper::Parallel<FFLAS::CuttingStrategy::Block,c>(a) |
#define | splitting_3(a, b, c) FFLAS::ParSeqHelper::Parallel<b,c>(a) |
#define | splitt(_1, _2, _3, NAME, ...) NAME |
#define | SPLITTER(...) splitt(__VA_ARGS__, splitting_3, splitting_2, splitting_1, splitting_0)(__VA_ARGS__) |
#define __FFLASFFPACK_SEQUENTIAL |
#define index_t size_t |
#define TASK | ( | M, | |
I | |||
) | {I;} |
#define WAIT |
#define CHECK_DEPENDENCIES |
#define BARRIER |
#define PAR_BLOCK |
#define SYNCH_GROUP | ( | Args... | ) | {{Args};} |
#define THREAD_INDEX 0 |
#define NUM_THREADS 1 |
#define SET_THREADS | ( | num_threads | ) | {} |
#define MAX_THREADS 1 |
#define READ | ( | Args... | ) |
#define WRITE | ( | Args... | ) |
#define READWRITE | ( | Args... | ) |
#define CONSTREFERENCE | ( | ... | ) |
#define VALUE | ( | ... | ) |
#define BEGIN_PARALLEL_MAIN | ( | Args... | ) | int main(Args) { |
#define END_PARALLEL_MAIN | ( | void | ) | return 0; } |
#define FORBLOCK1D | ( | iter, | |
m, | |||
Helper, | |||
Args... | |||
) |
#define FOR1D | ( | i, | |
m, | |||
Helper, | |||
Args... | |||
) |
#define PARFORBLOCK1D | ( | iter, | |
m, | |||
Helper, | |||
Args... | |||
) |
#define PARFOR1D | ( | iter, | |
m, | |||
Helper, | |||
Args... | |||
) |
#define FORBLOCK2D | ( | iter, | |
m, | |||
n, | |||
Helper, | |||
Args... | |||
) |
#define FOR2D | ( | i, | |
j, | |||
m, | |||
n, | |||
Helper, | |||
Args... | |||
) |
#define PARFORBLOCK2D | ( | iter, | |
m, | |||
n, | |||
Helper, | |||
Args... | |||
) | FORBLOCK2D(iter, m, n, Helper, Args) |
#define PARFOR2D | ( | i, | |
j, | |||
m, | |||
n, | |||
Helper, | |||
Args... | |||
) | FOR2D(i, j, m, n, Helper, Args) |
#define COMMA , |
#define MODE | ( | ... | ) | __VA_ARGS__ |
#define RETURNPARAM | ( | f, | |
P1, | |||
Args... | |||
) | P1=f(Args) |
#define PP_NARG_ | ( | ... | ) | PP_ARG_N(__VA_ARGS__) |
#define PP_ARG_N | ( | _1, | |
_2, | |||
_3, | |||
_4, | |||
_5, | |||
_6, | |||
_7, | |||
_8, | |||
_9, | |||
_10, | |||
_11, | |||
_12, | |||
_13, | |||
_14, | |||
_15, | |||
_16, | |||
_17, | |||
_18, | |||
_19, | |||
_20, | |||
_21, | |||
_22, | |||
_23, | |||
_24, | |||
_25, | |||
_26, | |||
_27, | |||
_28, | |||
_29, | |||
_30, | |||
_31, | |||
_32, | |||
_33, | |||
_34, | |||
_35, | |||
_36, | |||
_37, | |||
_38, | |||
_39, | |||
_40, | |||
_41, | |||
_42, | |||
_43, | |||
_44, | |||
_45, | |||
_46, | |||
_47, | |||
_48, | |||
_49, | |||
_50, | |||
_51, | |||
_52, | |||
_53, | |||
_54, | |||
_55, | |||
_56, | |||
_57, | |||
_58, | |||
_59, | |||
_60, | |||
_61, | |||
_62, | |||
_63, | |||
N, | |||
... | |||
) | N |
#define PP_RSEQ_N | ( | ) |
#define NOSPLIT | ( | ) | FFLAS::ParSeqHelper::Sequential() |
#define splitting_0 | ( | ) | FFLAS::ParSeqHelper::Parallel<FFLAS::CuttingStrategy::Block,FFLAS::StrategyParameter::Threads>() |
#define splitting_1 | ( | a | ) | FFLAS::ParSeqHelper::Parallel<FFLAS::CuttingStrategy::Block,FFLAS::StrategyParameter::Threads>(a) |
#define splitting_2 | ( | a, | |
c | |||
) | FFLAS::ParSeqHelper::Parallel<FFLAS::CuttingStrategy::Block,c>(a) |
#define splitting_3 | ( | a, | |
b, | |||
c | |||
) | FFLAS::ParSeqHelper::Parallel<b,c>(a) |
#define SPLITTER | ( | ... | ) | splitt(__VA_ARGS__, splitting_3, splitting_2, splitting_1, splitting_0)(__VA_ARGS__) |