Explorar el Código

Also push requests if some previous requests have terminated

Samuel Thibault hace 11 años
padre
commit
7b91d914cd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/datawizard/datawizard.c

+ 1 - 1
src/datawizard/datawizard.c

@@ -39,7 +39,7 @@ int __starpu_datawizard_progress(unsigned memory_node, unsigned may_alloc, unsig
 	/* in case some other driver requested data */
 	if (_starpu_handle_pending_node_data_requests(memory_node))
 		ret = 1;
-	if (push_requests)
+	if (ret || push_requests)
 	{
 		unsigned pushed;
 		if (_starpu_handle_node_data_requests(memory_node, may_alloc, &pushed) == 0)