STORMM Source Documentation
Loading...
Searching...
No Matches
hpc_scorecard.h
1// -*-c++-*-
2#ifndef STORMM_HPC_SCORECARD_H
3#define STORMM_HPC_SCORECARD_H
4
5#include <vector>
6#include "copyright.h"
7#include "Accelerator/gpu_details.h"
8#include "energy_enumerators.h"
9
10namespace stormm {
11namespace energy {
12
13using card::GpuDetails;
14
27void launchScoreCardInitialization(StateVariable var, int system_index, llint* accumulators,
28 int system_count, const GpuDetails &gpu);
29
30void launchScoreCardInitialization(const std::vector<StateVariable> &var, int system_index,
31 llint* accumulators, int system_count, const GpuDetails &gpu);
33
49void launchScoreCardEnergySum(const int system_count, const int sample_count, llint* inst_acc,
50 llint* time_ser_acc, double* run_acc, double* sqd_acc,
51 const double inv_nrg_scale, const GpuDetails &gpu);
52
65void launchScoreCardCommit(const std::vector<StateVariable> &var, const int system_index,
66 const int system_count, const size_t sample_count,
67 const llint* inst_acc, double* run_acc, double* sqd_acc,
68 llint* time_ser_acc, const GpuDetails &gpu);
69
70void launchScoreCardCommit(StateVariable var, const int system_index, const int system_count,
71 const size_t sample_count, const llint* inst_acc, double* run_acc,
72 double* sqd_acc, llint* time_ser_acc, const GpuDetails &gpu);
74
75} // namespace energy
76} // namespace stormm
77
78#endif
Pertinent aspects of one particular GPU. Condensing the data for each GPU in this manner helps to ens...
Definition gpu_details.h:27