handler of the statistics of the material properties, given to the primitives of the backends (see MFront/GenericParallel/Batch.hxx). The statistics are analysed by the report function of the material property, which names the check retained at the reported point.
More...
#include </home/runner/work/tfel/tfel/mfront/include/MFront/GenericParallelMaterialProperty/Evaluate.hxx>
|
|
using | OutputStatus = ::mfront::gpmp::OutputStatus |
| | a simple alias
|
|
using | Statistics = ::mfront::gpmp::Statistics |
| | a simple alias
|
|
| constexpr BatchStatistics | initial () const noexcept |
| constexpr bool | hasEvents () const noexcept |
|
void | initialize (Statistics &s) const noexcept |
| | initialize the statistics updated by the devices
|
| int | report (OutputStatus &s, const Statistics &r) const noexcept |
| | report the statistics updated by the devices, once the computations are completed
|
| int | report (OutputStatus &s, Statistics *const given, const BatchStatistics &r) const noexcept |
| | report the statistics of a batch combined by a reduction or, if the calling code gave statistics, accumulate them in those statistics (see mfront_gpmp_BatchData)
|
|
|
ReportFunction | report_function |
| | report function of the material property
|
|
bool | runtime_checks |
| | if false, the runtime checks are disabled
|
handler of the statistics of the material properties, given to the primitives of the backends (see MFront/GenericParallel/Batch.hxx). The statistics are analysed by the report function of the material property, which names the check retained at the reported point.
◆ hasEvents()
| bool mfront::gpmp::StatisticsHandler::hasEvents |
( |
| ) |
const |
|
inlineconstexprnoexcept |
- Returns
- false if the evaluation at one point never reports an event, which is the case if the runtime checks are disabled: the primitives then neither combine nor report the statistics
◆ initial()
- Returns
- the statistics of a batch without event
◆ report() [1/2]
report the statistics updated by the devices, once the computations are completed
- Returns
- the status
- Parameters
-
| [out] | s | output status |
| [in] | r | statistics, read on the host |
◆ report() [2/2]
report the statistics of a batch combined by a reduction or, if the calling code gave statistics, accumulate them in those statistics (see mfront_gpmp_BatchData)
- Returns
- the status
- Parameters
-
| [in,out] | s | output status |
| [in] | given | statistics given by the calling code, or null |
| [in] | r | statistics of the batch |
The documentation for this struct was generated from the following file: