Skip to content

Commit 15f5aaf

Browse files
committed
distances: clarify the general description of the structure
Signed-off-by: Brice Goglin <[email protected]>
1 parent 54178fb commit 15f5aaf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/hwloc/distances.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@ extern "C" {
2828

2929
/** \brief Matrix of distances between a set of objects.
3030
*
31-
* This matrix often contains latencies between NUMA nodes
31+
* The most common matrix contains latencies between NUMA nodes
3232
* (as reported in the System Locality Distance Information Table (SLIT)
3333
* in the ACPI specification), which may or may not be physically accurate.
3434
* It corresponds to the latency for accessing the memory of one node
3535
* from a core in another node.
36-
* The corresponding kind is ::HWLOC_DISTANCES_KIND_FROM_OS | ::HWLOC_DISTANCES_KIND_FROM_USER.
36+
* The corresponding kind is ::HWLOC_DISTANCES_KIND_MEANS_LATENCY | ::HWLOC_DISTANCES_KIND_FROM_USER.
3737
* The name of this distances structure is "NUMALatency".
38-
* Others distance structures include and "XGMIBandwidth", "XGMIHops",
39-
* "XeLinkBandwidth" and "NVLinkBandwidth".
4038
*
4139
* The matrix may also contain bandwidths between random sets of objects,
4240
* possibly provided by the user, as specified in the \p kind attribute.
41+
* Others common distance structures include and "XGMIBandwidth", "XGMIHops",
42+
* "XeLinkBandwidth" and "NVLinkBandwidth".
4343
*
4444
* Pointers \p objs and \p values should not be replaced, reallocated, freed, etc.
4545
* However callers are allowed to modify \p kind as well as the contents

0 commit comments

Comments
 (0)