PPL Logo

libs/ck-libs/ckloop/CkLoopAPI.h File Reference

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 ()


Typedef Documentation

typedef void(* HelperFn)(int first, int last, void *result, int paramNum, void *param)

Definition at line 7 of file CkLoopAPI.h.

typedef void(* CallerFn)(int paramNum, void *param)

Definition at line 9 of file CkLoopAPI.h.


Enumeration Type Documentation

Enumerator:
CKLOOP_NONE 
CKLOOP_INT_SUM 
CKLOOP_FLOAT_SUM 
CKLOOP_DOUBLE_SUM 
CKLOOP_DOUBLE_MAX 

Definition at line 11 of file CkLoopAPI.h.

Enumerator:
CKLOOP_NODE_QUEUE 
CKLOOP_TREE 
CKLOOP_LIST 

Definition at line 19 of file CkLoopAPI.h.


Function Documentation

CProxy_FuncCkLoop CkLoop_Init ( int  numThreads = 0  ) 

Referenced by RegisterCkLoopHdlrs().

Here is the caller graph for this function:

void CkLoop_Exit ( CProxy_FuncCkLoop  ckLoop  ) 

Referenced by RegisterCkLoopHdlrs().

Here is the caller graph for this function:

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 
)

Referenced by RegisterCkLoopHdlrs().

Here is the caller graph for this function:

void CkLoop_SetSchedPolicy ( CkLoop_sched  schedPolicy  ) 

Referenced by RegisterCkLoopHdlrs().

Here is the caller graph for this function:

void CkLoop_DestroyHelpers (  ) 

Referenced by RegisterCkLoopHdlrs().

Here is the caller graph for this function:


Generated on Mon Sep 21 08:06:52 2020 for Charm++ by  doxygen 1.5.5