Parcourir la source

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

Nathalie Furmento il y a 10 ans
Parent
commit
e71d56be1a
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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
 };