| 85 | } |
| 86 | |
| 87 | gflops_t |
| 88 | PerformanceRecorder::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 | |
| 100 | gflops_t |
| 101 | PerformanceRecorder::clblasAvgPerf(BlasFunction fn) |