21 #ifndef __STARPU_PERFMODEL_H__ 22 #define __STARPU_PERFMODEL_H__ 40 #define STARPU_NARCH STARPU_ANY_WORKER 116 struct starpu_perfmodel_history_table;
118 #define starpu_per_arch_perfmodel starpu_perfmodel_per_arch STARPU_DEPRECATED 134 starpu_perfmodel_per_arch_cost_function cost_function;
139 starpu_perfmodel_per_arch_size_base size_base;
145 struct starpu_perfmodel_history_table *
history;
161 char debug_path[256];
169 STARPU_PERFMODEL_INVALID=0,
179 struct _starpu_perfmodel_state;
180 typedef struct _starpu_perfmodel_state* starpu_perfmodel_state_t;
267 unsigned benchmarking;
273 void (*parameters)(
struct starpu_task * task,
double *parameters);
300 starpu_perfmodel_state_t state;
355 int starpu_perfmodel_get_narch_combs(
void);
363 int starpu_perfmodel_set_per_devices_cost_function(
struct starpu_perfmodel *model,
int impl, starpu_perfmodel_per_arch_cost_function func, ...);
364 int starpu_perfmodel_set_per_devices_size_base(
struct starpu_perfmodel *model,
int impl, starpu_perfmodel_per_arch_size_base func, ...);
394 int starpu_perfmodel_print_all(
struct starpu_perfmodel *model,
char *arch,
char *parameter, uint32_t *footprint, FILE *output);
395 int starpu_perfmodel_print_estimations(
struct starpu_perfmodel *model, uint32_t footprint, FILE *output);
397 int starpu_perfmodel_list_combs(FILE *output,
struct starpu_perfmodel *model);
starpu_worker_archtype
Definition: starpu_worker.h:61
Definition: starpu_perfmodel.h:79
uint64_t starpu_tag_t
Definition: starpu_task_dep.h:129
Definition: starpu_task.h:548
Definition: starpu_perfmodel.h:62
Definition: starpu_task.h:533