Samuel Thibault 12 vuotta sitten
vanhempi
commit
f89fa6901a
2 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 1 1
      src/datawizard/coherency.h
  2. 4 1
      src/datawizard/data_request.h

+ 1 - 1
src/datawizard/coherency.h

@@ -141,7 +141,7 @@ struct _starpu_data_state
 	/* Footprint which identifies data layout */
 	uint32_t footprint;
 
-	/* where is the data home ? -1 if none yet */
+	/* where is the data home, i.e. which node it was registered from ? -1 if none yet */
 	int home_node;
 
 	/* what is the default write-through mask for that data ? */

+ 4 - 1
src/datawizard/data_request.h

@@ -43,7 +43,10 @@ LIST_TYPE(_starpu_data_request,
 	struct _starpu_data_replicate *src_replicate;
 	struct _starpu_data_replicate *dst_replicate;
 
-	/* Which memory node will actually perform the transfer */
+	/* Which memory node will actually perform the transfer.
+	 * This is important in the CUDA/OpenCL case, where only the worker for
+	 * the node can make the CUDA/OpenCL calls.
+	 */
 	unsigned handling_node;
 
 	/*