|
@@ -800,6 +800,7 @@ _starpu_topology_get_nhwpu (struct _starpu_machine_config *config)
|
|
|
return config->topology.nhwpus;
|
|
|
}
|
|
|
|
|
|
+#ifdef STARPU_HAVE_HWLOC
|
|
|
void _starpu_topology_filter(hwloc_topology_t topology)
|
|
|
{
|
|
|
#if HWLOC_API_VERSION >= 0x20000
|
|
@@ -808,6 +809,7 @@ void _starpu_topology_filter(hwloc_topology_t topology)
|
|
|
hwloc_topology_set_flags(topology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES | HWLOC_TOPOLOGY_FLAG_IO_BRIDGES);
|
|
|
#endif
|
|
|
}
|
|
|
+#endif
|
|
|
|
|
|
#ifdef STARPU_USE_MIC
|
|
|
static void
|