Parcourir la source

include/starpu_task_util.h: remove documentation as it is defined elsewhere

Nathalie Furmento il y a 12 ans
Parent
commit
d68c81d5cd
1 fichiers modifiés avec 12 ajouts et 18 suppressions
  1. 12 18
      include/starpu_task_util.h

+ 12 - 18
include/starpu_task_util.h

@@ -34,29 +34,23 @@ extern "C"
 void starpu_create_sync_task(starpu_tag_t sync_tag, unsigned ndeps, starpu_tag_t *deps,
 				void (*callback)(void *), void *callback_arg);
 
-/* Constants used by the starpu_insert_task helper to determine the different types of argument */
-#define STARPU_VALUE		(1<<19)	/* Pointer to a constant value */
-#define STARPU_CALLBACK		(1<<20)	/* Callback function */
-#define STARPU_CALLBACK_WITH_ARG	(1<<21)	/* Callback function */
-#define STARPU_CALLBACK_ARG	(1<<22)	/* Argument of the callback function (of type void *) */
-#define STARPU_PRIORITY		(1<<23)	/* Priority associated to the task */
-#define STARPU_EXECUTE_ON_NODE	(1<<24)	/* Used by MPI to define which task is going to execute the codelet */
-#define STARPU_EXECUTE_ON_DATA	(1<<25)	/* Used by MPI to define which task is going to execute the codelet */
-#define STARPU_DATA_ARRAY       (1<<26) /* Array of data handles */
-#define STARPU_TAG              (1<<27) /* Tag */
-#define STARPU_HYPERVISOR_TAG	(1<<28)	/* Used to tag a task after whose execution we'll execute  a code */
-#define STARPU_FLOPS	        (1<<29)	/* Used to specify the number of flops needed to be executed by a task */
-#define STARPU_SCHED_CTX	(1<<30)	/* Used to specify the sched_ctx to which the task will be submitted */
+#define STARPU_VALUE		 (1<<19)
+#define STARPU_CALLBACK		 (1<<20)
+#define STARPU_CALLBACK_WITH_ARG (1<<21)
+#define STARPU_CALLBACK_ARG	 (1<<22)
+#define STARPU_PRIORITY		 (1<<23)
+#define STARPU_EXECUTE_ON_NODE	 (1<<24)	/* Used by MPI to define which task is going to execute the codelet */
+#define STARPU_EXECUTE_ON_DATA	 (1<<25)
+#define STARPU_DATA_ARRAY        (1<<26)
+#define STARPU_TAG               (1<<27)
+#define STARPU_HYPERVISOR_TAG	 (1<<28)
+#define STARPU_FLOPS	         (1<<29)
+#define STARPU_SCHED_CTX	 (1<<30)
 
-/* 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(void **arg_buffer, size_t *arg_buffer_size, ...);
 
 #ifdef __cplusplus