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

Method etalonPerfSingle

src/tests/performance/perf-copy.cpp:194–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194template <typename ElemType> nano_time_t
195CopyPerformanceTest<ElemType>::etalonPerfSingle(void)
196{
197 nano_time_t time = 0;
198
199#ifdef PERF_TEST_WITH_ACML
200
201 time = getCurrentTime();
202 clMath::blas::copy(params_.N, blasX_, params_.offBX, params_.incx, blasY_, params_.offCY, params_.incy);
203 time = getCurrentTime() - time;
204
205#endif // PERF_TEST_WITH_ACML
206
207 return time;
208}
209
210
211template <typename ElemType> nano_time_t

Callers

nothing calls this directly

Calls 1

getCurrentTimeFunction · 0.50

Tested by

no test coverage detected