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

Method etalonPerfSingle

src/tests/performance/perf-axpy.cpp:217–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getCurrentTimeFunction · 0.50

Tested by

no test coverage detected