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

Method etalonPerfSingle

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getCurrentTimeFunction · 0.50

Tested by

no test coverage detected