Ver código fonte

It is not possible to perform superflous memory allocation (for other memory
requests than the current one) while we are already trying to find memory.

Cédric Augonnet 14 anos atrás
pai
commit
2c5f2890b2
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/datawizard/memalloc.c

+ 1 - 1
src/datawizard/memalloc.c

@@ -138,7 +138,7 @@ static void transfer_subtree_to_node(starpu_data_handle handle, unsigned src_nod
 			src_replicate->refcnt++;
 			dst_replicate->refcnt++;
 
-			ret = _starpu_driver_copy_data_1_to_1(handle, src_replicate, dst_replicate, 0, NULL, 1);
+			ret = _starpu_driver_copy_data_1_to_1(handle, src_replicate, dst_replicate, 0, NULL, 0);
 			STARPU_ASSERT(ret == 0);
 
 			src_replicate->refcnt--;