HadrienG2 / hwlocality

Rust bindings to Open MPI Portable Hardware Locality "hwloc" library, covering version 2.0 and above.
MIT License
20 stars 5 forks source link

Consider exposing topology differences #10

Open HadrienG2 opened 1 year ago

HadrienG2 commented 1 year ago

Expose hwloc's ability to compute diffs of topologies that are similar but not quite identical: https://hwloc.readthedocs.io/en/v2.9/group__hwlocality__diff.html

HadrienG2 commented 1 year ago

I must admit that the use case for this (topology diff that only works in simple cases and errors out otherwise) is a bit unclear to me at the moment. That makes it hard to find motivation for binding it and inspiration for API ergonomics. If you use or would want to use this feature, please speak up and describe your use case!