Procházet zdrojové kódy

When applying a filter to a data handle, we transmit the sequential coherency
flag to the children.

Cédric Augonnet před 16 roky
rodič
revize
202fdaa8c4
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/datawizard/filters.c

+ 2 - 0
src/datawizard/filters.c

@@ -130,6 +130,8 @@ void starpu_partition_data(starpu_data_handle initial_handle, starpu_filter *f)
 		children->refcnt = 0;
 		_starpu_spin_init(&children->header_lock);
 
+		children->sequential_consistency = initial_handle->sequential_consistency;
+
 		unsigned node;
 		for (node = 0; node < STARPU_MAXNODES; node++)
 		{