19 #ifndef __SINK_COMMON_H__
20 #define __SINK_COMMON_H__
24 #include <common/config.h>
30 #pragma GCC visibility push(hidden)
36 struct _starpu_sink_topology
41 struct arg_sink_thread
43 struct _starpu_mp_node *node;
47 void _starpu_sink_common_worker(
void);
49 void (*_starpu_sink_common_cpu_lookup (
const struct _starpu_mp_node * node STARPU_ATTRIBUTE_UNUSED,
char* func_name))(void);
50 void _starpu_sink_common_execute(
struct _starpu_mp_node *node,
void *arg,
int arg_size);
52 void _starpu_sink_common_allocate(
const struct _starpu_mp_node *mp_node,
void *arg,
int arg_size);
53 void _starpu_sink_common_free(
const struct _starpu_mp_node *mp_node STARPU_ATTRIBUTE_UNUSED,
void *arg,
int arg_size);
55 void _starpu_sink_common_map(
const struct _starpu_mp_node *mp_node,
void *arg,
int arg_size);
56 void _starpu_sink_common_unmap(
const struct _starpu_mp_node *mp_node STARPU_ATTRIBUTE_UNUSED,
void *arg,
int arg_size);
58 void* _starpu_sink_thread(
void * thread_arg);
60 #pragma GCC visibility pop