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

Method etalonPerfSingle

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

Source from the content-addressed store, hash-verified

229}
230
231template <typename ElemType> nano_time_t
232RotPerformanceTest<ElemType>::etalonPerfSingle(void)
233{
234 nano_time_t time = 0;
235
236#ifdef PERF_TEST_WITH_ACML
237
238 time = getCurrentTime();
239 clMath::blas::rot(params_.N, back_X_, params_.offa, params_.incx, back_Y_, params_.offb, params_.incy,
240 alpha, beta);
241 time = getCurrentTime() - time;
242
243#endif // PERF_TEST_WITH_ACML
244
245 return time;
246}
247
248
249template <typename ElemType> nano_time_t

Callers

nothing calls this directly

Calls 1

getCurrentTimeFunction · 0.50

Tested by

no test coverage detected