Pārlūkot izejas kodu

tests/datawizard/manual_reduction.c: wait for previous tasks when submission fails

Nathalie Furmento 13 gadi atpakaļ
vecāks
revīzija
6d16ea76af
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      tests/datawizard/manual_reduction.c

+ 1 - 0
tests/datawizard/manual_reduction.c

@@ -226,6 +226,7 @@ int main(int argc, char **argv)
 
 enodev:
 	fprintf(stderr, "WARNING: No one can execute this task\n");
+	starpu_task_wait_for_all();
 	/* yes, we do not perform the computation but we did detect that no one
  	 * could perform the kernel, so this is not an error from StarPU */
 	starpu_shutdown();