Parcourir la source

include hwloc

Andra Hugo il y a 12 ans
Parent
commit
d22f6a2a34
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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