21 #ifndef __STARPU_PERFMODEL_H__ 22 #define __STARPU_PERFMODEL_H__ 38 #define STARPU_NARCH STARPU_ANY_WORKER 95 struct starpu_perfmodel_history_table;
97 #define starpu_per_arch_perfmodel starpu_perfmodel_per_arch STARPU_DEPRECATED 104 starpu_perfmodel_per_arch_cost_function cost_function;
105 starpu_perfmodel_per_arch_size_base size_base;
107 struct starpu_perfmodel_history_table *
history;
111 char debug_path[256];
116 STARPU_PERFMODEL_INVALID=0,
124 struct _starpu_perfmodel_state;
125 typedef struct _starpu_perfmodel_state* starpu_perfmodel_state_t;
140 unsigned benchmarking;
143 starpu_perfmodel_state_t state;
150 void starpu_perfmodel_get_model_path(
const char *symbol,
char *path,
size_t maxlen);
155 int starpu_perfmodel_get_narch_combs();
163 int starpu_perfmodel_set_per_devices_cost_function(
struct starpu_perfmodel *model,
int impl, starpu_perfmodel_per_arch_cost_function func, ...);
164 int starpu_perfmodel_set_per_devices_size_base(
struct starpu_perfmodel *model,
int impl, starpu_perfmodel_per_arch_size_base func, ...);
177 int starpu_perfmodel_list_combs(FILE *output,
struct starpu_perfmodel *model);
starpu_worker_archtype
Definition: starpu_worker.h:31
Definition: starpu_perfmodel.h:67
Definition: starpu_task.h:129
Definition: starpu_perfmodel.h:54
Definition: starpu_data.h:48