|
@@ -220,11 +220,6 @@ void starpu_trace_user_event(unsigned long code);
|
|
* */
|
|
* */
|
|
void starpu_execute_on_each_worker(void (*func)(void *), void *arg, uint32_t where);
|
|
void starpu_execute_on_each_worker(void (*func)(void *), void *arg, uint32_t where);
|
|
|
|
|
|
-/* This creates (and submits) an empty task that unlocks a tag once all its
|
|
|
|
- * dependencies are fulfilled. */
|
|
|
|
-void starpu_create_sync_task(starpu_tag_t sync_tag, unsigned ndeps, starpu_tag_t *deps,
|
|
|
|
- void (*callback)(void *), void *callback_arg);
|
|
|
|
-
|
|
|
|
/* Copy the content of the src_handle into the dst_handle handle. The
|
|
/* Copy the content of the src_handle into the dst_handle handle. The
|
|
* asynchronous parameter indicates whether the function should block or not.
|
|
* asynchronous parameter indicates whether the function should block or not.
|
|
* In the case of an asynchronous call, it is possible to synchronize with the
|
|
* In the case of an asynchronous call, it is possible to synchronize with the
|
|
@@ -234,27 +229,6 @@ void starpu_create_sync_task(starpu_tag_t sync_tag, unsigned ndeps, starpu_tag_t
|
|
* copied, and it is given the callback_arg pointer as argument.*/
|
|
* copied, and it is given the callback_arg pointer as argument.*/
|
|
int starpu_data_cpy(starpu_data_handle_t dst_handle, starpu_data_handle_t src_handle, int asynchronous, void (*callback_func)(void*), void *callback_arg);
|
|
int starpu_data_cpy(starpu_data_handle_t dst_handle, starpu_data_handle_t src_handle, int asynchronous, void (*callback_func)(void*), void *callback_arg);
|
|
|
|
|
|
-/* Constants used by the starpu_insert_task helper to determine the different types of argument */
|
|
|
|
-#define STARPU_VALUE (1<<4) /* Pointer to a constant value */
|
|
|
|
-#define STARPU_CALLBACK (1<<5) /* Callback function */
|
|
|
|
-#define STARPU_CALLBACK_WITH_ARG (1<<6) /* Callback function */
|
|
|
|
-#define STARPU_CALLBACK_ARG (1<<7) /* Argument of the callback function (of type void *) */
|
|
|
|
-#define STARPU_PRIORITY (1<<8) /* Priority associated to the task */
|
|
|
|
-#define STARPU_EXECUTE_ON_NODE (1<<9) /* Used by MPI to define which task is going to execute the codelet */
|
|
|
|
-#define STARPU_EXECUTE_ON_DATA (1<<10) /* Used by MPI to define which task is going to execute the codelet */
|
|
|
|
-#define STARPU_DATA_ARRAY (1<<11) /* Array of data handles */
|
|
|
|
-
|
|
|
|
-/* Wrapper to create a task. */
|
|
|
|
-int starpu_insert_task(struct starpu_codelet *cl, ...);
|
|
|
|
-
|
|
|
|
-/* Retrieve the arguments of type STARPU_VALUE associated to a task
|
|
|
|
- * automatically created using starpu_insert_task. */
|
|
|
|
-void starpu_codelet_unpack_args(void *cl_arg, ...);
|
|
|
|
-
|
|
|
|
-/* Pack arguments of type STARPU_VALUE into a buffer which can be
|
|
|
|
- * given to a codelet and later unpacked with starpu_codelet_unpack_args */
|
|
|
|
-void starpu_codelet_pack_args(char **arg_buffer, size_t *arg_buffer_size, ...);
|
|
|
|
-
|
|
|
|
#ifdef __cplusplus
|
|
#ifdef __cplusplus
|
|
}
|
|
}
|
|
#endif
|
|
#endif
|