Explorar o código

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

Nathalie Furmento %!s(int64=13) %!d(string=hai) anos
pai
achega
6d16ea76af
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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();