Browse Source

fix warning

Samuel Thibault 8 years ago
parent
commit
e553d86c26
1 changed files with 2 additions and 0 deletions
  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];
 	struct _starpu_machine_topology *topology = &_starpu_get_machine_config()->topology;
 	int busid = starpu_bus_get_id(src_node, dst_node);
+#if 0
 	int direct = starpu_bus_get_direct(busid);
+#endif
 	float ngpus = topology->ncudagpus+topology->nopenclgpus;
 
 #if 0