瀏覽代碼

Also push requests if some previous requests have terminated

Samuel Thibault 11 年之前
父節點
當前提交
7b91d914cd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)