Browse Source

periodically perform reclaiming if needed

Samuel Thibault 10 years ago
parent
commit
5a20717d13
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/datawizard/datawizard.c

+ 3 - 0
src/datawizard/datawizard.c

@@ -37,6 +37,9 @@ 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;
+
+	starpu_memchunk_tidy(memory_node);
+
 	if (ret || push_requests)
 	{
 		unsigned pushed;