distribPart.c

Summary
distribPart.c
distribPartOIMBE a t on tjs besoins de egraph->ownetab ????
taskExec_DIAGFree allocated memory
taskExec_E1Set timer of task E1 to the date at which the DIAG task is finished
taskExec_E2add this task E2 to processor ready queue
taskExec_COMP1DUpdate contribution counter of the facing block
computeTaskReceiveTimePut the task in the ready heap of its local candidat processor
comp_intThe diagonal block have to be locally present for the task to be ready
getNextProc
getTaskUnmapped
getNextTaskNextProcno unmapped task found
queueReorderWe prevent to distribute on the same processor set when all time are equals
computeBlockCtrbNbr
updateFtgtStructSet up the task ctrbcnt and cblkcnt
putInReadyQueue

distribPart

void distribPart(SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)

OIMBE a t on tjs besoins de egraph->ownetab ????

taskExec_DIAG

void taskExec_DIAG(INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)

Free allocated memory

taskExec_E1

void taskExec_E1(INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)

Set timer of task E1 to the date at which the DIAG task is finished

taskExec_E2

void taskExec_E2(INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)

add this task E2 to processor ready queue

taskExec_COMP1D

void taskExec_COMP1D(INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)

Update contribution counter of the facing block

computeTaskReceiveTime

void computeTaskReceiveTime(const INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)

Put the task in the ready heap of its local candidat processor

comp_int

INT comp_int(const INT *a,
const INT *b)

The diagonal block have to be locally present for the task to be ready

getNextProc

INT getNextProc(SimuProc *proctab,
INT procnbr)

getTaskUnmapped

INT getTaskUnmapped(Queue *q1,
Queue *q2,
SimuCtrl *simuctrl)

getNextTaskNextProc

INT getNextTaskNextProc(SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
INT *procnumptr,
Queue *q)

no unmapped task found

queueReorder

void queueReorder(INT t,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl)

We prevent to distribute on the same processor set when all time are equals

computeBlockCtrbNbr

void computeBlockCtrbNbr(SimuCtrl *simuctrl,
SymbolMatrix *symbptr,
BlendCtrl *ctrl)

updateFtgtStruct

void updateFtgtStruct(INT bloknum,
INT bloknum2,
INT ftgtnum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl)

Set up the task ctrbcnt and cblkcnt

putInReadyQueue

void putInReadyQueue(INT procnum,
INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl)
void distribPart(SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)
OIMBE a t on tjs besoins de egraph->ownetab ????
void taskExec_DIAG(INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)
Free allocated memory
void taskExec_E1(INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)
Set timer of task E1 to the date at which the DIAG task is finished
void taskExec_E2(INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)
add this task E2 to processor ready queue
void taskExec_COMP1D(INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)
Update contribution counter of the facing block
void computeTaskReceiveTime(const INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
const Dof *dofptr)
Put the task in the ready heap of its local candidat processor
INT comp_int(const INT *a,
const INT *b)
The diagonal block have to be locally present for the task to be ready
INT getNextProc(SimuProc *proctab,
INT procnbr)
INT getTaskUnmapped(Queue *q1,
Queue *q2,
SimuCtrl *simuctrl)
INT getNextTaskNextProc(SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl,
INT *procnumptr,
Queue *q)
no unmapped task found
void queueReorder(INT t,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl)
We prevent to distribute on the same processor set when all time are equals
void computeBlockCtrbNbr(SimuCtrl *simuctrl,
SymbolMatrix *symbptr,
BlendCtrl *ctrl)
void updateFtgtStruct(INT bloknum,
INT bloknum2,
INT ftgtnum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl)
Set up the task ctrbcnt and cblkcnt
void putInReadyQueue(INT procnum,
INT tasknum,
SymbolMatrix *symbptr,
SimuCtrl *simuctrl,
BlendCtrl *ctrl)
Close