StarPU Handbook
starpu_task_util.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <starpu.h>

Go to the source code of this file.

Data Structures

struct  starpu_codelet_pack_arg_data
 

Macros

#define STARPU_MODE_SHIFT
 
#define STARPU_VALUE
 
#define STARPU_CALLBACK
 
#define STARPU_CALLBACK_WITH_ARG
 
#define STARPU_CALLBACK_ARG
 
#define STARPU_PRIORITY
 
#define STARPU_EXECUTE_ON_NODE
 
#define STARPU_EXECUTE_ON_DATA
 
#define STARPU_DATA_ARRAY
 
#define STARPU_DATA_MODE_ARRAY
 
#define STARPU_TAG
 
#define STARPU_HYPERVISOR_TAG
 
#define STARPU_FLOPS
 
#define STARPU_SCHED_CTX
 
#define STARPU_PROLOGUE_CALLBACK
 
#define STARPU_PROLOGUE_CALLBACK_ARG
 
#define STARPU_PROLOGUE_CALLBACK_POP
 
#define STARPU_PROLOGUE_CALLBACK_POP_ARG
 
#define STARPU_EXECUTE_ON_WORKER
 
#define STARPU_EXECUTE_WHERE
 
#define STARPU_TAG_ONLY
 
#define STARPU_POSSIBLY_PARALLEL
 
#define STARPU_WORKER_ORDER
 
#define STARPU_NODE_SELECTION_POLICY
 
#define STARPU_NAME
 
#define STARPU_CL_ARGS
 
#define STARPU_CL_ARGS_NFREE
 
#define STARPU_TASK_DEPS_ARRAY
 
#define STARPU_TASK_COLOR
 
#define STARPU_HANDLES_SEQUENTIAL_CONSISTENCY
 
#define STARPU_TASK_SYNCHRONOUS
 
#define STARPU_TASK_END_DEPS_ARRAY
 
#define STARPU_TASK_END_DEP
 
#define STARPU_TASK_WORKERIDS
 
#define STARPU_SEQUENTIAL_CONSISTENCY
 
#define STARPU_TASK_PROFILING_INFO
 
#define STARPU_TASK_NO_SUBMITORDER
 
#define STARPU_CALLBACK_ARG_NFREE
 
#define STARPU_CALLBACK_WITH_ARG_NFREE
 
#define STARPU_PROLOGUE_CALLBACK_ARG_NFREE
 
#define STARPU_PROLOGUE_CALLBACK_POP_ARG_NFREE
 
#define STARPU_TASK_SCHED_DATA
 
#define STARPU_SHIFTED_MODE_MAX
 

Functions

int starpu_task_set (struct starpu_task *task, struct starpu_codelet *cl,...)
 
struct starpu_taskstarpu_task_build (struct starpu_codelet *cl,...)
 
int starpu_task_insert (struct starpu_codelet *cl,...)
 
int starpu_insert_task (struct starpu_codelet *cl,...)
 
void starpu_task_insert_data_make_room (struct starpu_codelet *cl, struct starpu_task *task, int *allocated_buffers, int current_buffer, int room)
 
void starpu_task_insert_data_process_arg (struct starpu_codelet *cl, struct starpu_task *task, int *allocated_buffers, int *current_buffer, int arg_type, starpu_data_handle_t handle)
 
void starpu_task_insert_data_process_array_arg (struct starpu_codelet *cl, struct starpu_task *task, int *allocated_buffers, int *current_buffer, int nb_handles, starpu_data_handle_t *handles)
 
void starpu_task_insert_data_process_mode_array_arg (struct starpu_codelet *cl, struct starpu_task *task, int *allocated_buffers, int *current_buffer, int nb_descrs, struct starpu_data_descr *descrs)
 
void starpu_codelet_pack_args (void **arg_buffer, size_t *arg_buffer_size,...)
 
void starpu_codelet_pack_arg_init (struct starpu_codelet_pack_arg_data *state)
 
void starpu_codelet_pack_arg (struct starpu_codelet_pack_arg_data *state, const void *ptr, size_t ptr_size)
 
void starpu_codelet_pack_arg_fini (struct starpu_codelet_pack_arg_data *state, void **cl_arg, size_t *cl_arg_size)
 
void starpu_codelet_unpack_args (void *cl_arg,...)
 
void starpu_codelet_unpack_args_and_copyleft (void *cl_arg, void *buffer, size_t buffer_size,...)