starpu_submit_tasks.c

Summary
starpu_submit_tasks.c
trf_size
gemm_size
init_cpu_funcInitialize the pivot counter on CPU.
init_cuda_funcInitialize the pivot counter on CUDA nodes.
redux_cuda_funcDummy implementation of the addition of two unsigned longs in CUDA
redux_cpu_funcDummy implementation of the addition of two unsigned longs on CPUs.
starpu_data_partitionInitialize column blocks handlers.
starpu_partition_data
data_unregister_callbackUnregister a data handler.
starpu_submit_tasksSubmit tasks to perform the decomposition of the matrix.

trf_size

static size_t trf_size(struct starpu_task *task,
enum starpu_perf_archtype arch,
unsigned nimpl)

gemm_size

static size_t gemm_size(struct starpu_task *task,
enum starpu_perf_archtype arch,
unsigned nimpl)

init_cpu_func

static void init_cpu_func(void *descr[],
void *cl_arg)

Initialize the pivot counter on CPU.

Parameters

descrThe pivot data descriptor.
cl_argThe arguments of the codelet (void).

init_cuda_func

static void init_cuda_func(void *descr[],
void *cl_arg)

Initialize the pivot counter on CUDA nodes.

Parameters

descrThe pivot data descriptor.
cl_argThe arguments of the codelet (void).

redux_cuda_func

static void redux_cuda_func(void *descr[],
void *cl_arg)

Dummy implementation of the addition of two unsigned longs in CUDA

Parameters

descrThe pivot data descriptor.
cl_argThe arguments of the codelet (void).

redux_cpu_func

static void redux_cpu_func(void *descr[],
void *cl_arg)

Dummy implementation of the addition of two unsigned longs on CPUs.

Parameters

descrThe pivot data descriptor.
cl_argThe arguments of the codelet (void).

starpu_data_partition

Initialize column blocks handlers.

Parameters

sopalin_dataPaStiX global data structure.
L_handleHandles for L column blocks.
U_handleHandles for U column blocks.

starpu_partition_data

static void starpu_partition_data(Sopalin_Data_t *sopalin_data,
starpu_data_handle_t *L_handle,
starpu_data_handle_t *U_handle)

data_unregister_callback

static void data_unregister_callback(void *arg)

Unregister a data handler.

Parameters

argpointer to the data handler.

starpu_submit_tasks

int starpu_submit_tasks(Sopalin_Data_t *sopalin_data)

Submit tasks to perform the decomposition of the matrix.

Parameters

sopalin_dataPaStiX global data structure.

Returns

NO_ERR

static size_t trf_size(struct starpu_task *task,
enum starpu_perf_archtype arch,
unsigned nimpl)
static size_t gemm_size(struct starpu_task *task,
enum starpu_perf_archtype arch,
unsigned nimpl)
static void init_cpu_func(void *descr[],
void *cl_arg)
Initialize the pivot counter on CPU.
static void init_cuda_func(void *descr[],
void *cl_arg)
Initialize the pivot counter on CUDA nodes.
static void redux_cuda_func(void *descr[],
void *cl_arg)
Dummy implementation of the addition of two unsigned longs in CUDA
static void redux_cpu_func(void *descr[],
void *cl_arg)
Dummy implementation of the addition of two unsigned longs on CPUs.
static void starpu_partition_data(Sopalin_Data_t *sopalin_data,
starpu_data_handle_t *L_handle,
starpu_data_handle_t *U_handle)
static void data_unregister_callback(void *arg)
Unregister a data handler.
int starpu_submit_tasks(Sopalin_Data_t *sopalin_data)
Submit tasks to perform the decomposition of the matrix.
Close