Commit 75fccc05 authored by Victor Lopez's avatar Victor Lopez

Fix hwloc option flag only present in versions 1.x

parent 7a5b5160
......@@ -70,8 +70,10 @@ void Hwloc::loadHwloc ()
fatal_cond0( res != 0, "Could not load hwloc topology xml file." );
}
#if (HWLOC_API_VERSION >> 16) == 1
// Enable GPU detection
hwloc_topology_set_flags( _hwlocTopology, HWLOC_TOPOLOGY_FLAG_IO_DEVICES );
#endif
// Perform the topology detection.
hwloc_topology_load( _hwlocTopology );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment