Explorar o código

Do not require is_direct_access_supported to be set, assume 0 if it isn't

Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
8c27c4de1f
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  1. 1 4
      src/datawizard/coherency.c

+ 1 - 4
src/datawizard/coherency.c

@@ -235,10 +235,7 @@ static int worker_supports_direct_access(unsigned node, unsigned handling_node)
 	if (node_ops && node_ops->is_direct_access_supported)
 		return node_ops->is_direct_access_supported(node, handling_node);
 	else
-	{
-		STARPU_ABORT_MSG("Node %s does not define the operation 'is_direct_access_supported'", _starpu_node_get_prefix(starpu_node_get_kind(node)));
-		return 1;
-	}
+		return 0;
 }
 
 static int link_supports_direct_transfers(starpu_data_handle_t handle, unsigned src_node, unsigned dst_node, unsigned *handling_node)