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

Method etalonPerfSingle

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

Source from the content-addressed store, hash-verified

199}
200
201template <typename ElemType> nano_time_t
202SyrkPerformanceTest<ElemType>::etalonPerfSingle(void)
203{
204 nano_time_t time = 0;
205 clblasOrder order;
206 size_t lda, ldc;
207
208#ifndef PERF_TEST_WITH_ROW_MAJOR
209 if (params_.order == clblasRowMajor) {
210 cerr << "Row major order is not allowed" << endl;
211 return NANOTIME_ERR;
212 }
213#endif
214
215 memcpy(C_, backC_, params_.rowsC * params_.columnsC * sizeof(ElemType));
216 order = params_.order;
217 lda = params_.lda;
218 ldc = params_.ldc;
219
220#ifdef PERF_TEST_WITH_ACML
221
222// #warning "SYRK performance test not implemented"
223 time = NANOTIME_MAX;
224 order = order;
225 lda = lda;
226 ldc = ldc;
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

no outgoing calls

Tested by

no test coverage detected