MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / etalonAvgPerf

Method etalonAvgPerf

src/tests/performance/PerformanceRecorder.cpp:87–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87gflops_t
88PerformanceRecorder::etalonAvgPerf(BlasFunction fn)
89{
90 int id = static_cast<int>(fn);
91 gflops_t gflops = records_[id].etalonGFlops;
92
93 if (records_[id].etalonNrRuns) {
94 gflops /= records_[id].etalonNrRuns;
95 }
96
97 return gflops;
98}
99
100gflops_t
101PerformanceRecorder::clblasAvgPerf(BlasFunction fn)

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected