Selaa lähdekoodia

examples/sched_ctx/sched_ctx.c: comment out functions calls which segfault

Nathalie Furmento 13 vuotta sitten
vanhempi
commit
58695ba1a4
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      examples/sched_ctx/sched_ctx.c

+ 2 - 2
examples/sched_ctx/sched_ctx.c

@@ -99,7 +99,7 @@ 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 */
-	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++)
 	{
 	{
@@ -114,7 +114,7 @@ int main(int argc, char **argv)
 	}
 	}
 
 
 
 
-	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*/
 	starpu_task_wait_for_all();
 	starpu_task_wait_for_all();