From 3e259b2a0c2f5f68873cc140728d9001ab75ea7d Mon Sep 17 00:00:00 2001 From: kadimitra Date: Tue, 5 Nov 2024 22:19:39 +0100 Subject: [PATCH] Fix doc return type of broadcast_to --- .../include/hpx/collectives/broadcast.hpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libs/full/collectives/include/hpx/collectives/broadcast.hpp b/libs/full/collectives/include/hpx/collectives/broadcast.hpp index bd5c12ba47f5..fdde88435c9e 100644 --- a/libs/full/collectives/include/hpx/collectives/broadcast.hpp +++ b/libs/full/collectives/include/hpx/collectives/broadcast.hpp @@ -33,11 +33,12 @@ namespace hpx { namespace collectives { /// the locality id). This value is optional and /// defaults to whatever hpx::get_locality_id() returns. /// - /// \returns This function returns a future that will become + /// \returns This function returns a future holding the value that was + /// sent to all participating sites. It will become /// ready once the broadcast operation has been completed. /// template - hpx::future broadcast_to(char const* basename, T&& local_result, + hpx::future broadcast_to(char const* basename, T&& local_result, num_sites_arg num_sites = num_sites_arg(), this_site_arg this_site = this_site_arg(), generation_arg generation = generation_arg()); @@ -64,11 +65,12 @@ namespace hpx { namespace collectives { /// \note The generation values from corresponding \a broadcast_to and /// \a broadcast_from have to match. /// - /// \returns This function returns a future that will become + /// \returns This function returns a future holding the value that was + /// sent to all participating sites. It will become /// ready once the broadcast operation has been completed. /// template - hpx::future broadcast_to(communicator comm, + hpx::future broadcast_to(communicator comm, T&& local_result, this_site_arg this_site = this_site_arg(), generation_arg generation = generation_arg()); @@ -94,11 +96,12 @@ namespace hpx { namespace collectives { /// \note The generation values from corresponding \a broadcast_to and /// \a broadcast_from have to match. /// - /// \returns This function returns a future that will become + /// \returns This function returns a future holding the value that was + /// sent to all participating sites. It will become /// ready once the broadcast operation has been completed. /// template - hpx::future broadcast_to(communicator comm, + hpx::future broadcast_to(communicator comm, generation_arg generation, T&& local_result, this_site_arg this_site = this_site_arg());