| 199 | } |
| 200 | |
| 201 | template <typename ElemType> nano_time_t |
| 202 | SyrkPerformanceTest<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 | |
| 234 | template <typename ElemType> nano_time_t |
nothing calls this directly
no outgoing calls
no test coverage detected