Skip to content

Commit

Permalink
API/doxy: fix the documentation of hwloc_get_depth_type()
Browse files Browse the repository at this point in the history
Mention virtual depths.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
(cherry picked from commit adb340d)
  • Loading branch information
bgoglin committed Nov 15, 2019
1 parent 9932909 commit 5e1c58e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/hwloc.h
Expand Up @@ -1264,7 +1264,8 @@ hwloc_get_type_or_above_depth (hwloc_topology_t topology, hwloc_obj_type_t type)

/** \brief Returns the type of objects at depth \p depth.
*
* \p depth should between 0 and hwloc_topology_get_depth()-1.
* \p depth should between 0 and hwloc_topology_get_depth()-1,
* or a virtual depth such as ::HWLOC_TYPE_DEPTH_BRIDGE.
*
* \return -1 if depth \p depth does not exist.
*/
Expand Down

0 comments on commit 5e1c58e

Please sign in to comment.