OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Public Member Functions | List of all members
CoreFitSC::IpplReducer Class Reference

All IPPL nodes, through allreduce(). More...

#include <CoreFitSC.h>

Inheritance diagram for CoreFitSC::IpplReducer:
Inheritance graph
[legend]
Collaboration diagram for CoreFitSC::IpplReducer:
Collaboration graph
[legend]

Public Member Functions

void sum (double *values, unsigned int count) const override
 Sums over all ranks.
 
void min (double *values, unsigned int count) const override
 Minima over all ranks (maxima are the minima of the negated values)
 
- Public Member Functions inherited from CoreFitSC::Reducer
virtual ~Reducer ()=default
 

Detailed Description

All IPPL nodes, through allreduce().

Definition at line 110 of file CoreFitSC.h.

Member Function Documentation

◆ min()

void CoreFitSC::IpplReducer::min ( double *  values,
unsigned int  count 
) const
overridevirtual

Minima over all ranks (maxima are the minima of the negated values)

Implements CoreFitSC::Reducer.

Definition at line 79 of file CoreFitSC.cpp.

References allreduce().

Here is the call graph for this function:

◆ sum()

void CoreFitSC::IpplReducer::sum ( double *  values,
unsigned int  count 
) const
overridevirtual

Sums over all ranks.

Implements CoreFitSC::Reducer.

Definition at line 74 of file CoreFitSC.cpp.

References allreduce().

Here is the call graph for this function:

The documentation for this class was generated from the following files: