Przeglądaj źródła

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 15 lat temu
rodzic
commit
2c5f2890b2
1 zmienionych plików z 1 dodań i 1 usunięć
  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--;