浏览代码

include hwloc

Andra Hugo 12 年之前
父节点
当前提交
d22f6a2a34
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/core/sched_ctx.h

+ 4 - 0
src/core/sched_ctx.h

@@ -24,6 +24,10 @@
 #include <common/barrier_counter.h>
 #include <profiling/profiling.h>
 
+#ifdef STARPU_HAVE_HWLOC
+#include <hwloc.h>
+#endif
+
 #define NO_RESIZE -1
 #define REQ_RESIZE 0
 #define DO_RESIZE 1