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

Method etalonPerfSingle

src/tests/performance/perf-dotc.cpp:207–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207template <typename ElemType> nano_time_t
208DotcPerformanceTest<ElemType>::etalonPerfSingle(void)
209{
210 nano_time_t time = 0;
211
212#ifdef PERF_TEST_WITH_ACML
213
214 time = getCurrentTime();
215 clMath::blas::dotc(params_.N, blasX_, params_.offBX, params_.incx, blasY_, params_.offCY, params_.incy);
216 time = getCurrentTime() - time;
217
218#endif // PERF_TEST_WITH_ACML
219
220 return time;
221}
222
223
224template <typename ElemType> nano_time_t

Callers

nothing calls this directly

Calls 1

getCurrentTimeFunction · 0.50

Tested by

no test coverage detected