Преглед изворни кода

examples/sched_ctx/sched_ctx.c: add warning

Nathalie Furmento пре 13 година
родитељ
комит
92f989a021
1 измењених фајлова са 3 додато и 1 уклоњено
  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*/