| 211 | } |
| 212 | |
| 213 | template <typename ElemType> nano_time_t |
| 214 | SwapPerformanceTest<ElemType>::etalonPerfSingle(void) |
| 215 | { |
| 216 | nano_time_t time = 0; |
| 217 | |
| 218 | #ifdef PERF_TEST_WITH_ACML |
| 219 | |
| 220 | time = getCurrentTime(); |
| 221 | clMath::blas::swap(params_.N, blasX_, params_.offBX, params_.incx, blasY_, params_.offCY, params_.incy); |
| 222 | time = getCurrentTime() - time; |
| 223 | |
| 224 | #endif // PERF_TEST_WITH_ACML |
| 225 | |
| 226 | return time; |
| 227 | } |
| 228 | |
| 229 | |
| 230 | template <typename ElemType> nano_time_t |
nothing calls this directly
no test coverage detected