|
@@ -401,7 +401,7 @@ static int copy_data_1_to_1_generic(starpu_data_handle_t handle,
|
|
#endif
|
|
#endif
|
|
|
|
|
|
case _STARPU_MEMORY_NODE_TUPLE(STARPU_CPU_RAM,STARPU_DISK_RAM):
|
|
case _STARPU_MEMORY_NODE_TUPLE(STARPU_CPU_RAM,STARPU_DISK_RAM):
|
|
- if(copy_methods->any_to_any)
|
|
|
|
|
|
+ if(copy_methods->any_to_any || starpu_asynchronous_copy_disabled())
|
|
ret = copy_methods->any_to_any(src_interface, src_node, dst_interface, dst_node, req ? &req->async_channel : NULL);
|
|
ret = copy_methods->any_to_any(src_interface, src_node, dst_interface, dst_node, req ? &req->async_channel : NULL);
|
|
|
|
|
|
else
|
|
else
|
|
@@ -418,7 +418,7 @@ static int copy_data_1_to_1_generic(starpu_data_handle_t handle,
|
|
break;
|
|
break;
|
|
|
|
|
|
case _STARPU_MEMORY_NODE_TUPLE(STARPU_DISK_RAM,STARPU_CPU_RAM):
|
|
case _STARPU_MEMORY_NODE_TUPLE(STARPU_DISK_RAM,STARPU_CPU_RAM):
|
|
- if(copy_methods->any_to_any)
|
|
|
|
|
|
+ if(copy_methods->any_to_any || starpu_asynchronous_copy_disabled())
|
|
ret = copy_methods->any_to_any(src_interface, src_node, dst_interface, dst_node, req ? &req->async_channel : NULL);
|
|
ret = copy_methods->any_to_any(src_interface, src_node, dst_interface, dst_node, req ? &req->async_channel : NULL);
|
|
else
|
|
else
|
|
{
|
|
{
|