vt::runtime::component::ComponentReducer struct

Trait class for the component that composes in the unique reducer for each component.

Derived classes

struct Diagnostic
The abstract Diagnostic trait for outputting debugging state information generically across VT components.

Public functions

auto reducer() -> collective::reduce::Reduce*
Get the reducer associated with the component that has a unique scope for this component.
auto getComponentID() const -> ComponentIDType
Get the unique identifier for the component.

Protected variables

ComponentIDType component_id_

Function documentation

collective::reduce::Reduce* vt::runtime::component::ComponentReducer::reducer()

Get the reducer associated with the component that has a unique scope for this component.

Returns the reducer with unique scope

ComponentIDType vt::runtime::component::ComponentReducer::getComponentID() const

Get the unique identifier for the component.

Returns the component ID

\internalThis component ID is assigned uniquely by the component pack and then used to generate a unique reducer scope for the component.

Variable documentation

ComponentIDType vt::runtime::component::ComponentReducer::component_id_ protected

The component's unique ID