From 8392d500baae86f9af9502a92cc95f78af503c2f Mon Sep 17 00:00:00 2001 From: dimitraka Date: Fri, 13 Oct 2023 20:37:30 +0200 Subject: [PATCH] Add doxygen docs --- .../include/hpx/collectives/argument_types.hpp | 18 ++++++++++++++++++ .../hpx/collectives/channel_communicator.hpp | 2 ++ .../hpx/collectives/create_communicator.hpp | 2 ++ 3 files changed, 22 insertions(+) diff --git a/libs/full/collectives/include/hpx/collectives/argument_types.hpp b/libs/full/collectives/include/hpx/collectives/argument_types.hpp index 9b87dd07bec7..cdc0db51e01a 100644 --- a/libs/full/collectives/include/hpx/collectives/argument_types.hpp +++ b/libs/full/collectives/include/hpx/collectives/argument_types.hpp @@ -50,11 +50,29 @@ namespace hpx::collectives { struct arity_tag; } // namespace detail + /// The number of participating sites (default: all localities) using num_sites_arg = detail::argument_type; + + /// The local end of the communication channel using this_site_arg = detail::argument_type; + + /// The opposite end of the communication channel using that_site_arg = detail::argument_type; + + /// The generational counter identifying the sequence number of the + /// operation performed on the given base name. It needs to be supplied + /// only if the operation on the given base name has to be performed + /// more than once. It must be a positive number greater than zero. using generation_arg = detail::argument_type; + + /// The site that is responsible for creating the support object + /// of the operation. It defaults to '0' (zero). using root_site_arg = detail::argument_type; + + /// The tag identifying the concrete operation using tag_arg = detail::argument_type; + + /// The number of children each of the communication nodes is connected + /// to (default: picked based on num_sites). using arity_arg = detail::argument_type; } // namespace hpx::collectives diff --git a/libs/full/collectives/include/hpx/collectives/channel_communicator.hpp b/libs/full/collectives/include/hpx/collectives/channel_communicator.hpp index 3375987e935c..30381a5c5f47 100644 --- a/libs/full/collectives/include/hpx/collectives/channel_communicator.hpp +++ b/libs/full/collectives/include/hpx/collectives/channel_communicator.hpp @@ -117,6 +117,8 @@ namespace hpx { namespace collectives { /////////////////////////////////////////////////////////////////////////// // forward declarations + /// a handle identifying the communication channel to use for get/set + /// operations class channel_communicator; template diff --git a/libs/full/collectives/include/hpx/collectives/create_communicator.hpp b/libs/full/collectives/include/hpx/collectives/create_communicator.hpp index 85d5e19c1f35..1de3933d768d 100644 --- a/libs/full/collectives/include/hpx/collectives/create_communicator.hpp +++ b/libs/full/collectives/include/hpx/collectives/create_communicator.hpp @@ -115,6 +115,8 @@ struct hpx::util::extra_data_helper namespace hpx::collectives { /////////////////////////////////////////////////////////////////////////// + /// a handle identifying the communication channel to use for a particular + /// collective operation struct communicator : hpx::components::client_base