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

Method etalonRegPerf

src/tests/performance/PerformanceRecorder.cpp:41–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void
42PerformanceRecorder::etalonRegPerf(
43 BlasFunction fn,
44 unsigned long us,
45 problem_size_t size)
46{
47 int id = static_cast<int>(fn);
48
49 records_[id].etalonGFlops += ((gflops_t)size / us) / 1000;
50 records_[id].etalonGbps += ((gbps_t)size / us) / 1000;
51 records_[id].etalonNrRuns++;
52}
53
54void
55PerformanceRecorder::clblasRegPerf(

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected