hpx::collectives::flat_fallback_threshold_arg

hpx::collectives::flat_fallback_threshold_arg#

Defined in header hpx/collectives.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

See also:

using hpx::collectives::flat_fallback_threshold_arg = detail::argument_type<detail::flat_fallback_threshold_tag, 16>#

The site-count threshold below which a hierarchical_communicator collapses to a single flat communicator spanning all sites. At small site counts, flat collectives outperform hierarchical composition because tree-walking overhead exceeds the synchronization-depth benefit. Pass 0 to disable the fallback and always build a tree.