Ver código fonte

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

Nathalie Furmento 13 anos atrás
pai
commit
6d16ea76af
1 arquivos alterados com 1 adições e 0 exclusões
  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();