starpu_task_create_sync

Function starpu_task_create_sync 

Source
pub unsafe extern "C" fn starpu_task_create_sync(
    handle: starpu_data_handle_t,
    mode: starpu_data_access_mode,
) -> *mut starpu_task
Expand description

Allocate a task structure that does nothing but accesses data \p handle with mode \p mode. This allows to synchronize with the task graph, according to the sequential consistency, against tasks submitted before or after submitting this task. One can then use starpu_task_declare_deps_array() or starpu_task_end_dep_add() / starpu_task_end_dep_release() to add dependencies against this task before submitting it. See \ref SynchronizationTasks for more details.