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

Method etalonPerfSingle

src/tests/performance/perf-swap.cpp:213–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213template <typename ElemType> nano_time_t
214SwapPerformanceTest<ElemType>::etalonPerfSingle(void)
215{
216 nano_time_t time = 0;
217
218#ifdef PERF_TEST_WITH_ACML
219
220 time = getCurrentTime();
221 clMath::blas::swap(params_.N, blasX_, params_.offBX, params_.incx, blasY_, params_.offCY, params_.incy);
222 time = getCurrentTime() - time;
223
224#endif // PERF_TEST_WITH_ACML
225
226 return time;
227}
228
229
230template <typename ElemType> nano_time_t

Callers

nothing calls this directly

Calls 1

getCurrentTimeFunction · 0.50

Tested by

no test coverage detected