Skip to content

Commit 54178fb

Browse files
committed
API: document that distances may only group if latencies
Signed-off-by: Brice Goglin <[email protected]>
1 parent be5bc64 commit 54178fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/hwloc/distances.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ HWLOC_DECLSPEC int hwloc_distances_add_values(hwloc_topology_t topology,
404404
/** \brief Flags for adding a new distances to a topology. */
405405
enum hwloc_distances_add_flag_e {
406406
/** \brief Try to group objects based on the newly provided distance information.
407-
* This is ignored for distances between objects of different types.
407+
* Grouping is only performed when the distances structure contains latencies,
408+
* and when all objects are of the same type.
408409
* \hideinitializer
409410
*/
410411
HWLOC_DISTANCES_ADD_FLAG_GROUP = (1UL<<0),

0 commit comments

Comments
 (0)