Bläddra i källkod

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 år sedan
förälder
incheckning
2c5f2890b2
1 ändrade filer med 1 tillägg och 1 borttagningar
  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--;