diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-10-17 14:42:44 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2014-10-23 13:46:19 +0200 |
commit | 40be94635de9f74c25e5cae418594d04ec814742 (patch) | |
tree | 45570fae3154d4bc518782538977fc96a5e357a9 /ufo/ufo-task-graph.h | |
parent | 118ea8302e3db79b4d259966da43b81a0fe816a2 (diff) |
Add UfoBaseScheduler::set_gpu_nodes
This allows the user to specify which GPUs to use from a particular arch graph.
Diffstat (limited to 'ufo/ufo-task-graph.h')
-rw-r--r-- | ufo/ufo-task-graph.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ufo/ufo-task-graph.h b/ufo/ufo-task-graph.h index 75cb1b3..eba7dce 100644 --- a/ufo/ufo-task-graph.h +++ b/ufo/ufo-task-graph.h @@ -86,10 +86,13 @@ void ufo_task_graph_save_to_json (UfoTaskGraph *graph, GError **error); gchar *ufo_task_graph_get_json_data (UfoTaskGraph *graph, GError **error); +void ufo_task_graph_set_gpu_nodes (UfoTaskGraph *task_graph, + GList *gpu_nodes); void ufo_task_graph_map (UfoTaskGraph *task_graph, - UfoArchGraph *arch_graph); + GList *gpu_nodes); void ufo_task_graph_expand (UfoTaskGraph *task_graph, UfoArchGraph *arch_graph, + guint n_gpus, gboolean expand_remote); void ufo_task_graph_connect_nodes (UfoTaskGraph *graph, UfoTaskNode *n1, |