Closed GuilloteauQ closed 10 months ago
The get_topology function is returning weird values since the usage of hwloc #563.
get_topology
hwloc
https://github.com/daphne-eu/daphne/blob/ccba9387a9b33e5c6b46df0aa3477d3bbab0fbfd/src/runtime/local/vectorized/MTWrapper.h#L87-L96
Namely, the function was just constructing vectors of the correct sizes, but not actually setting the information.
This PR uses hwloc to return the same information as before #563 and fix #650
Hi @GuilloteauQ , great catch on the missing call to destroy, your fix for #650 and the topology walk look good to me. Thank you for the contribution.
destroy
The
get_topology
function is returning weird values since the usage ofhwloc
#563.https://github.com/daphne-eu/daphne/blob/ccba9387a9b33e5c6b46df0aa3477d3bbab0fbfd/src/runtime/local/vectorized/MTWrapper.h#L87-L96
Namely, the function was just constructing vectors of the correct sizes, but not actually setting the information.
This PR uses
hwloc
to return the same information as before #563 and fix #650