|
@@ -86,7 +86,19 @@ extern "C"
|
|
|
execute the codelet.
|
|
|
*/
|
|
|
#define STARPU_EXECUTE_ON_DATA (7<<STARPU_MODE_SHIFT)
|
|
|
+
|
|
|
+/**
|
|
|
+ Used when calling starpu_task_in_sert(), must be followed by an array of
|
|
|
+ handles and the number of elements in the array (as int). This is equivalent
|
|
|
+ to passing the handles as separate parameters with STARPU_R/W/RW.
|
|
|
+*/
|
|
|
#define STARPU_DATA_ARRAY (8<<STARPU_MODE_SHIFT)
|
|
|
+
|
|
|
+/**
|
|
|
+ Used when calling starpu_task_in_sert(), must be followed by an array of
|
|
|
+ struct starpu_data_descr and the number of elements in the array (as int).
|
|
|
+ This is equivalent to passing the handles with the corresponding modes.
|
|
|
+*/
|
|
|
#define STARPU_DATA_MODE_ARRAY (9<<STARPU_MODE_SHIFT)
|
|
|
|
|
|
/**
|
|
@@ -156,6 +168,10 @@ extern "C"
|
|
|
*/
|
|
|
#define STARPU_TAG_ONLY (20<<STARPU_MODE_SHIFT)
|
|
|
|
|
|
+/**
|
|
|
+ Used when calling starpu_task_insert(), must be followed by an unsigned
|
|
|
+ stored in starpu_task::possibly_parallel.
|
|
|
+*/
|
|
|
#define STARPU_POSSIBLY_PARALLEL (21<<STARPU_MODE_SHIFT)
|
|
|
|
|
|
/**
|