|
@@ -48,14 +48,14 @@ struct _starpu_data_replicate
|
|
|
/* describe the actual data layout, as manipulated by data interfaces in *_interface.c */
|
|
|
void *data_interface;
|
|
|
|
|
|
- unsigned memory_node;
|
|
|
-
|
|
|
- /* describes the state of the local data in term of coherency */
|
|
|
- enum _starpu_cache_state state;
|
|
|
-
|
|
|
/* How many requests or tasks are currently working with this replicate */
|
|
|
int refcnt;
|
|
|
|
|
|
+ char memory_node;
|
|
|
+
|
|
|
+ /* describes the state of the local data in term of coherency */
|
|
|
+ enum _starpu_cache_state state: 2;
|
|
|
+
|
|
|
/* A buffer that is used for SCRATCH or reduction cannnot be used with
|
|
|
* filters. */
|
|
|
unsigned relaxed_coherency:2;
|
|
@@ -72,9 +72,6 @@ struct _starpu_data_replicate
|
|
|
* */
|
|
|
unsigned automatically_allocated:1;
|
|
|
|
|
|
- /* Pointer to memchunk for LRU strategy */
|
|
|
- struct _starpu_mem_chunk * mc;
|
|
|
-
|
|
|
/* To help the scheduling policies to make some decision, we
|
|
|
may keep a track of the tasks that are likely to request
|
|
|
this data on the current node.
|
|
@@ -84,6 +81,9 @@ struct _starpu_data_replicate
|
|
|
*/
|
|
|
uint32_t requested;
|
|
|
struct _starpu_data_request *request[STARPU_MAXNODES];
|
|
|
+
|
|
|
+ /* Pointer to memchunk for LRU strategy */
|
|
|
+ struct _starpu_mem_chunk * mc;
|
|
|
};
|
|
|
|
|
|
struct _starpu_data_requester_list;
|