#include <starpu.h>
#include <common/config.h>
#include <datawizard/coherency.h>
#include <datawizard/memalloc.h>
#include <datawizard/node_ops.h>
#include <common/utils.h>
#include <core/workers.h>
#include <core/simgrid.h>
Go to the source code of this file.
|
|
#define | _starpu_node_needs_map_update(node) |
| |
|
#define | starpu_node_get_kind |
| |
|
#define | starpu_memory_nodes_get_count |
| |
|
#define | starpu_worker_get_memory_node |
| |
|
#define | starpu_worker_get_local_memory_node |
| |
◆ _starpu_cond_and_worker
| struct _starpu_cond_and_worker |
◆ _starpu_memory_node_descr
| struct _starpu_memory_node_descr |
◆ _starpu_memory_node_add_nworkers()
| static void _starpu_memory_node_add_nworkers |
( |
unsigned |
node | ) |
|
|
inlinestatic |
Record that there is an additional worker that uses this memory node
◆ _starpu_worker_drives_memory_node()
Record that this worker will driver data transfers for this memory node.
◆ _starpu_memory_node_get_nworkers()
| static unsigned _starpu_memory_node_get_nworkers |
( |
unsigned |
node | ) |
|
|
inlinestatic |
Get the number of workers that use this memory node
◆ _starpu_memory_node_set_mapped()
| void _starpu_memory_node_set_mapped |
( |
unsigned |
node | ) |
|
Note that this memory node can map CPU data
◆ _starpu_memory_node_get_mapped()
| unsigned _starpu_memory_node_get_mapped |
( |
unsigned |
node | ) |
|
Returns whether this memory node can map CPU data
◆ _starpu_memory_node_register()
Registers a memory node. Returns the memory node number
◆ _starpu_memory_node_register_condition()
| void _starpu_memory_node_register_condition |
( |
struct _starpu_worker * |
worker, |
|
|
starpu_pthread_cond_t * |
cond, |
|
|
unsigned |
nodeid |
|
) |
| |
Register a condition variable associated to worker which is associated to a memory node itself.
◆ _starpu_memory_node_get_description()
See starpu_memory_node_get_description()
◆ _starpu_node_get_kind()
◆ _starpu_memory_nodes_get_count()
| static unsigned _starpu_memory_nodes_get_count |
( |
void |
| ) |
|
|
inlinestatic |
◆ _starpu_worker_get_memory_node()
| static unsigned _starpu_worker_get_memory_node |
( |
unsigned |
workerid | ) |
|
|
inlinestatic |
◆ _starpu_worker_get_local_memory_node()
| static unsigned _starpu_worker_get_local_memory_node |
( |
void |
| ) |
|
|
inlinestatic |
See starpu_worker_get_local_memory_node