Explorar el Código

src/core/workers.h: - we no longer need to maintin ABI compatibility as type is private - always define struct starpu_tree *tree

Nathalie Furmento hace 11 años
padre
commit
455285f263
Se han modificado 1 ficheros con 2 adiciones y 5 borrados
  1. 2 5
      src/core/workers.h

+ 2 - 5
src/core/workers.h

@@ -169,16 +169,13 @@ struct _starpu_machine_topology
 	unsigned ncombinedworkers;
 
 	unsigned nsched_ctxs;
+
 #ifdef STARPU_HAVE_HWLOC
 	/* Topology as detected by hwloc. */
 	hwloc_topology_t hwtopology;
-
+#endif
 	/* custom hwloc tree*/
 	struct starpu_tree *tree;
-#else
-	/* We maintain ABI compatibility with and without hwloc */
-	void *dummy;
-#endif
 
 	/* Total number of CPUs, as detected by the topology code. May
 	 * be different from the actual number of CPU workers.