Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7856a3aa authored by Philippe SWARTVAGHER's avatar Philippe SWARTVAGHER
Browse files

Use starpu_execute_on_each_worker_ex() instead of starpu_execute_on_each_worker()

The _ex() version allows to provide a task name, which is useful when
using StarPU's profiling interface.
parent 182b047f
No related branches found
No related tags found
1 merge request!487Use starpu_execute_on_each_worker_ex() instead of starpu_execute_on_each_worker()
......@@ -131,7 +131,7 @@ int RUNTIME_starpu_ws_alloc(CHAMELEON_starpu_ws_t **workspace,
descr->memory_location = memory_location;
descr->which_workers = which_workers;
starpu_execute_on_each_worker(RUNTIME_allocate_workspace_on_workers, descr, which_workers);
starpu_execute_on_each_worker_ex(RUNTIME_allocate_workspace_on_workers, descr, which_workers, "chameleon_ws_alloc");
return 0;
}
......@@ -141,7 +141,7 @@ int RUNTIME_starpu_ws_free(CHAMELEON_starpu_ws_t *workspace)
if (!workspace)
return -EINVAL;
starpu_execute_on_each_worker(RUNTIME_free_workspace_on_workers, workspace, workspace->which_workers);
starpu_execute_on_each_worker_ex(RUNTIME_free_workspace_on_workers, workspace, workspace->which_workers, "chameleon_ws_free");
free(workspace);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment