Go to the source code of this file.
Typedefs | |
typedef void(* | HelperFn )(int first, int last, void *result, int paramNum, void *param) |
typedef void(* | CallerFn )(int paramNum, void *param) |
Enumerations | |
enum | REDUCTION_TYPE { CKLOOP_NONE = 0, CKLOOP_INT_SUM, CKLOOP_FLOAT_SUM, CKLOOP_DOUBLE_SUM, CKLOOP_DOUBLE_MAX } |
enum | CkLoop_sched { CKLOOP_NODE_QUEUE = 0, CKLOOP_TREE, CKLOOP_LIST } |
Functions | |
CProxy_FuncCkLoop | CkLoop_Init (int numThreads=0) |
void | CkLoop_Exit (CProxy_FuncCkLoop ckLoop) |
void | CkLoop_Parallelize (HelperFn func, int paramNum, void *param, int numChunks, int lowerRange, int upperRange, int sync=1, void *redResult=NULL, REDUCTION_TYPE type=CKLOOP_NONE, CallerFn cfunc=NULL, int cparamNum=0, void *cparam=NULL) |
void | CkLoop_ParallelizeHybrid (float staticFraction, HelperFn func, int paramNum, void *param, int numChunks, int lowerRange, int upperRange, int sync=1, void *redResult=NULL, REDUCTION_TYPE type=CKLOOP_NONE, CallerFn cfunc=NULL, int cparamNum=0, void *cparam=NULL) |
void | CkLoop_SetSchedPolicy (CkLoop_sched schedPolicy) |
void | CkLoop_DestroyHelpers () |
Definition at line 7 of file CkLoopAPI.h.
Definition at line 9 of file CkLoopAPI.h.
enum REDUCTION_TYPE |
Definition at line 11 of file CkLoopAPI.h.
enum CkLoop_sched |
CProxy_FuncCkLoop CkLoop_Init | ( | int | numThreads = 0 |
) |
void CkLoop_Exit | ( | CProxy_FuncCkLoop | ckLoop | ) |
void CkLoop_Parallelize | ( | HelperFn | func, | |
int | paramNum, | |||
void * | param, | |||
int | numChunks, | |||
int | lowerRange, | |||
int | upperRange, | |||
int | sync = 1 , |
|||
void * | redResult = NULL , |
|||
REDUCTION_TYPE | type = CKLOOP_NONE , |
|||
CallerFn | cfunc = NULL , |
|||
int | cparamNum = 0 , |
|||
void * | cparam = NULL | |||
) |
void CkLoop_SetSchedPolicy | ( | CkLoop_sched | schedPolicy | ) |
void CkLoop_DestroyHelpers | ( | ) |