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

Method etalonPerfSingle

src/tests/performance/perf-gemv.cpp:220–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220template <typename ElemType> nano_time_t
221GemvPerformanceTest<ElemType>::etalonPerfSingle(void)
222{
223 nano_time_t time = 0;
224 clblasOrder order;
225 size_t lda;
226
227#ifndef PERF_TEST_WITH_ROW_MAJOR
228 if (params_.order == clblasRowMajor) {
229 cerr << "Row major order is not allowed" << endl;
230 return NANOTIME_ERR;
231 }
232#endif
233
234 memcpy(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
235 order = params_.order;
236 lda = params_.lda;
237
238#ifdef PERF_TEST_WITH_ACML
239
240// #warning "GEMV performance test not implemented"
241 time = NANOTIME_MAX;
242 order = order;
243 lda = lda;
244
245#endif // PERF_TEST_WITH_ACML
246
247 return time;
248}
249
250
251template <typename ElemType> nano_time_t

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected