StarPU Handbook
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Structures | Macros | Enumerations | Functions
starpu_perfmodel.h File Reference
#include <starpu.h>
#include <stdio.h>
#include <starpu_util.h>

Go to the source code of this file.

Data Structures

struct  starpu_perfmodel_history_entry
 
struct  starpu_perfmodel_history_list
 
struct  starpu_perfmodel_regression_model
 
struct  starpu_perfmodel_per_arch
 
struct  starpu_perfmodel
 

Macros

#define STARPU_NARCH_VARIATIONS
 
#define starpu_per_arch_perfmodel
 

Enumerations

enum  starpu_perfmodel_archtype { STARPU_CPU_DEFAULT, STARPU_CUDA_DEFAULT, STARPU_OPENCL_DEFAULT }
 
enum  starpu_perfmodel_type {
  STARPU_PER_ARCH, STARPU_COMMON, STARPU_HISTORY_BASED, STARPU_REGRESSION_BASED,
  STARPU_NL_REGRESSION_BASED
}
 

Functions

enum starpu_perfmodel_archtype starpu_worker_get_perf_archtype (int workerid)
 
int starpu_perfmodel_load_symbol (const char *symbol, struct starpu_perfmodel *model)
 
int starpu_perfmodel_unload_model (struct starpu_perfmodel *model)
 
void starpu_perfmodel_debugfilepath (struct starpu_perfmodel *model, enum starpu_perfmodel_archtype arch, char *path, size_t maxlen, unsigned nimpl)
 
void starpu_perfmodel_get_arch_name (enum starpu_perfmodel_archtype arch, char *archname, size_t maxlen, unsigned nimpl)
 
double starpu_permodel_history_based_expected_perf (struct starpu_perfmodel *model, enum starpu_perfmodel_archtype arch, uint32_t footprint)
 
int starpu_perfmodel_list (FILE *output)
 
void starpu_perfmodel_print (struct starpu_perfmodel *model, enum starpu_perfmodel_archtype arch, unsigned nimpl, char *parameter, uint32_t *footprint, FILE *output)
 
int starpu_perfmodel_print_all (struct starpu_perfmodel *model, char *arch, char *parameter, uint32_t *footprint, FILE *output)
 
void starpu_perfmodel_directory (FILE *output)
 
void starpu_perfmodel_update_history (struct starpu_perfmodel *model, struct starpu_task *task, enum starpu_perfmodel_archtype arch, unsigned cpuid, unsigned nimpl, double measured)
 
void starpu_bus_print_bandwidth (FILE *f)
 
void starpu_bus_print_affinity (FILE *f)
 
double starpu_transfer_bandwidth (unsigned src_node, unsigned dst_node)
 
double starpu_transfer_latency (unsigned src_node, unsigned dst_node)
 
double starpu_transfer_predict (unsigned src_node, unsigned dst_node, size_t size)