Browse Source

In order to maintain ABI compability, we add a dummy pointer in the topology
structure so that we can run the same binary with and without hwloc.

Cédric Augonnet 14 years ago
parent
commit
e70be63b82
1 changed files with 3 additions and 0 deletions
  1. 3 0
      include/starpu_scheduler.h

+ 3 - 0
include/starpu_scheduler.h

@@ -31,6 +31,9 @@ struct starpu_machine_topology_s {
 
 #ifdef STARPU_HAVE_HWLOC
 	hwloc_topology_t hwtopology;
+#else
+	/* We maintain ABI compatibility with and without hwloc */
+	void *dummy;
 #endif
 
 	unsigned nhwcpus;