|
@@ -659,7 +659,7 @@ struct _starpu_data_request *_starpu_create_request_to_fetch_data(starpu_data_ha
|
|
|
*/
|
|
|
struct _starpu_data_request *r = _starpu_create_data_request(handle, dst_replicate,
|
|
|
dst_replicate, requesting_node,
|
|
|
- mode, nwait, is_prefetch, 1);
|
|
|
+ STARPU_W, nwait, is_prefetch, 1);
|
|
|
|
|
|
/* and perform the callback after termination */
|
|
|
_starpu_data_request_append_callback(r, callback_func, callback_arg);
|