소스 검색

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

Nathalie Furmento 10 년 전
부모
커밋
e71d56be1a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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
 };