starpu_data_prefetch_on_node

Function starpu_data_prefetch_on_node 

Source
pub unsafe extern "C" fn starpu_data_prefetch_on_node(
    handle: starpu_data_handle_t,
    node: c_uint,
    async_: c_uint,
) -> c_int
Expand description

Issue a prefetch request for the data \p handle to \p node, i.e. requests that the data be replicated to \p node when there is room for it, so that it is available there for tasks. If \p async is 0, the call will block until the transfer is achieved, else the call will return immediately, after having just queued the request. In the latter case, the request will asynchronously wait for the completion of any task writing on the data. See \ref DataPrefetch for more details.