Browse Source

examples/sched_ctx/sched_ctx.c: add warning

Nathalie Furmento 12 years ago
parent
commit
92f989a021
1 changed files with 3 additions and 1 deletions
  1. 3 1
      examples/sched_ctx/sched_ctx.c

+ 3 - 1
examples/sched_ctx/sched_ctx.c

@@ -99,6 +99,8 @@ int main(int argc, char **argv)
 	/* tell starpu when you finished submitting tasks to this context
 	/* tell starpu when you finished submitting tasks to this context
 	   in order to allow moving resources from this context to the inheritor one
 	   in order to allow moving resources from this context to the inheritor one
 	   when its corresponding tasks finished executing */
 	   when its corresponding tasks finished executing */
+
+#warning TODO: to be fixed
 //	starpu_sched_ctx_finished_submit(sched_ctx1);
 //	starpu_sched_ctx_finished_submit(sched_ctx1);
 
 
 	for (i = 0; i < ntasks/2; i++)
 	for (i = 0; i < ntasks/2; i++)
@@ -113,7 +115,7 @@ int main(int argc, char **argv)
 		STARPU_CHECK_RETURN_VALUE(ret, "starpu_task_submit");
 		STARPU_CHECK_RETURN_VALUE(ret, "starpu_task_submit");
 	}
 	}
 
 
-
+#warning TODO: to be fixed
 //	starpu_sched_ctx_finished_submit(sched_ctx2);
 //	starpu_sched_ctx_finished_submit(sched_ctx2);
 
 
 	/* wait for all tasks at the end*/
 	/* wait for all tasks at the end*/