18 #ifndef __DRIVER_MIC_SINK_H__
19 #define __DRIVER_MIC_SINK_H__
23 #include <common/config.h>
33 #define STARPU_MIC_SINK_REPORT_ERROR(status) \
34 _starpu_mic_sink_report_error(__starpu_func__, __FILE__, __LINE__, status)
37 void _starpu_mic_sink_report_error(
const char *func,
const char *file,
const int line,
const int status);
39 void _starpu_mic_sink_init(
struct _starpu_mp_node *node);
40 void _starpu_mic_sink_launch_workers(
struct _starpu_mp_node *node);
41 void _starpu_mic_sink_deinit(
struct _starpu_mp_node *node);
43 void _starpu_mic_sink_allocate(
const struct _starpu_mp_node *mp_node,
void *arg,
int arg_size);
44 void _starpu_mic_sink_free(
const struct _starpu_mp_node *mp_node STARPU_ATTRIBUTE_UNUSED,
void *arg,
int arg_size);
45 void _starpu_mic_sink_bind_thread(
const struct _starpu_mp_node *mp_node STARPU_ATTRIBUTE_UNUSED,
int coreid,
int * core_table,
int nb_core);
47 void (*_starpu_mic_sink_lookup (
const struct _starpu_mp_node * node STARPU_ATTRIBUTE_UNUSED,
48 char* func_name))(void);