Samuel Thibault лет назад: 8
Родитель
Сommit
e553d86c26
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/core/perfmodel/perfmodel_bus.c

+ 2 - 0
src/core/perfmodel/perfmodel_bus.c

@@ -2513,7 +2513,9 @@ double starpu_transfer_predict(unsigned src_node, unsigned dst_node, size_t size
 	double latency = latency_matrix[src_node][dst_node];
 	double latency = latency_matrix[src_node][dst_node];
 	struct _starpu_machine_topology *topology = &_starpu_get_machine_config()->topology;
 	struct _starpu_machine_topology *topology = &_starpu_get_machine_config()->topology;
 	int busid = starpu_bus_get_id(src_node, dst_node);
 	int busid = starpu_bus_get_id(src_node, dst_node);
+#if 0
 	int direct = starpu_bus_get_direct(busid);
 	int direct = starpu_bus_get_direct(busid);
+#endif
 	float ngpus = topology->ncudagpus+topology->nopenclgpus;
 	float ngpus = topology->ncudagpus+topology->nopenclgpus;
 
 
 #if 0
 #if 0