Explorar o código

include/starpu_sched_component.h: make ABI independant on hwloc availability

Nathalie Furmento %!s(int64=11) %!d(string=hai) anos
pai
achega
e71d56be1a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/starpu_sched_component.h

+ 2 - 0
include/starpu_sched_component.h

@@ -137,6 +137,8 @@ struct starpu_sched_component
 	 * component that would balance load between underlying sockets
 	 */
 	hwloc_obj_t obj;
+#else
+	void *obj;
 #endif
 };