Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
e70be63b82
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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;