PaStiX Handbook 6.4.0
|
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "common.h"
#include "symbol/symbol.h"
#include "extendVector.h"
#include "queue.h"
#include "elimintree.h"
#include "cost.h"
#include "cand.h"
#include "blendctrl.h"
#include "blend/solver.h"
#include "simu.h"
#include "perf.h"
Go to the source code of this file.
Functions | |
static void | simu_computeFtgtCosts (const BlendCtrl *ctrl, const SimuFtgt *ftgt, pastix_int_t clustsrc, pastix_int_t sync_comm_nbr, double *send, double *add) |
Compute the cost of a communication and its update. | |
static void | simu_computeBlockCtrbNbr (const symbol_matrix_t *symbptr, SimuCtrl *simuctrl, pastix_int_t ricar) |
Compute the number of contributions to each block. | |
static void | simu_printBlockCtrbNbr (const BlendCtrl *ctrl, const symbol_matrix_t *symbptr, const SimuCtrl *simuctrl) |
Print the number of contributions per cblk and block for debug. | |
static void | simu_putInAllReadyQueues (const BlendCtrl *ctrl, SimuCtrl *simuctrl, pastix_int_t tasknum) |
Insert a task in the ready task queues of all its candidates. | |
static pastix_int_t | simu_getNextTaskNextProc (const BlendCtrl *ctrl, SimuCtrl *simuctrl, pastix_int_t *procnumptr) |
Look for the best next couple (tasknum, corenum) that is ready to be executed. | |
static void | simu_computeTaskReceiveTime (const BlendCtrl *ctrl, const symbol_matrix_t *symbptr, SimuCtrl *simuctrl, pastix_int_t tasknum) |
Compute the instant t where the task will be received by a node. | |
static void | simu_updateFtgt (const symbol_matrix_t *symbptr, SimuCtrl *simuctrl, pastix_int_t ftgtnum, pastix_int_t bloknum, pastix_int_t fbloknum) |
Update the Fan In target structure. | |
static void | simu_computeTask (const BlendCtrl *ctrl, const symbol_matrix_t *symbptr, SimuCtrl *simuctrl, pastix_int_t tasknum) |
Simulate the task execution. | |
static void | simu_pushToReadyHeap (const BlendCtrl *ctrl, SimuCtrl *simuctrl, pastix_int_t procnum) |
Push all tasks from future to ready. | |
void | simuRun (SimuCtrl *simuctrl, const BlendCtrl *ctrl, const symbol_matrix_t *symbptr) |
Run the simulation to map the data on the nodes. | |
PaStiX simulation functions.
Definition in file simu_run.c.