![]() |
Peano
|
Data Structures | |
class | DataRepository |
A singleton repository to manage and provide access to grid cell and face data. More... | |
Functions | |
void | initInputData (SolverPrecision *Q, const tarch::la::Vector< DIMENSIONS, double > CellCenter, const tarch::la::Vector< DIMENSIONS, double > CellSize) |
Set input data. More... | |
void | reportRuntime (const std::string &kernelIdentificator, const tarch::timing::Measurement &timingComputeKernel, const tarch::timing::Measurement &timingKernelLaunch, int numberOfCells, int numberOfThreads, tarch::logging::Log _log) |
Reports the runtime and throughput of the benchmarks. More... | |
Variables | |
constexpr int | NumberOfInputEntriesPerCell |
constexpr int | NumberOfOutputEntriesPerCell = 0 |
void benchmarks::exahype2::kernelbenchmarks::initInputData | ( | SolverPrecision * | Q, |
const tarch::la::Vector< DIMENSIONS, double > | CellCenter, | ||
const tarch::la::Vector< DIMENSIONS, double > | CellSize | ||
) |
Set input data.
We use the values from the centralMost Cell in the domain with an arbitrary cell size of 1/81 of the domain size.
TODO: should we update this to actual initial conditions?
Definition at line 30 of file Utils.h.
References CellCenter, and CellSize.
Referenced by runBenchmarks(), variant1::runBenchmarks(), variant2::runBenchmarks(), variant3::runBenchmarks(), variant4::runBenchmarks(), variant5::runBenchmarks(), and variant6::runBenchmarks().
void benchmarks::exahype2::kernelbenchmarks::reportRuntime | ( | const std::string & | kernelIdentificator, |
const tarch::timing::Measurement & | timingComputeKernel, | ||
const tarch::timing::Measurement & | timingKernelLaunch, | ||
int | numberOfCells, | ||
int | numberOfThreads, | ||
tarch::logging::Log | _log | ||
) |
Reports the runtime and throughput of the benchmarks.
First set of outputs refers to the time of the compute kernel itself. Second set of outputs refers to the time including the kernel launch overhead. The throughput is measured in the updates of volumes per second (dof/s).
In the second part, this also writes the information about the runtime to a csv file
Definition at line 68 of file Utils.h.
References convergence-study::name, and timingComputeKernel.
Referenced by main(), runBenchmarks(), variant1::runBenchmarks(), variant2::runBenchmarks(), variant3::runBenchmarks(), variant4::runBenchmarks(), variant5::runBenchmarks(), and variant6::runBenchmarks().
|
constexpr |
Definition at line 13 of file Utils.h.
Referenced by runBenchmarks(), variant1::runBenchmarks(), variant2::runBenchmarks(), variant3::runBenchmarks(), variant4::runBenchmarks(), variant5::runBenchmarks(), and variant6::runBenchmarks().
|
constexpr |
Definition at line 20 of file Utils.h.
Referenced by allocateAndStoreOutcome(), runBenchmarks(), variant1::runBenchmarks(), variant2::runBenchmarks(), variant3::runBenchmarks(), and validateOutcome().