| 117 | |
| 118 | template <typename ElemType> |
| 119 | Her2PerformanceTest<ElemType>::Her2PerformanceTest( |
| 120 | BlasFunction fn, |
| 121 | TestParams *params) : PerformanceTest(fn, (problem_size_t)((((params->N * params->N) + (params->N)) * 3 ) * sizeof(ElemType))), |
| 122 | params_(*params), mobjA_(NULL), mobjX_(NULL), mobjY_(NULL) |
| 123 | { |
| 124 | A_ = new ElemType[params_.N * params_.lda + params_.offa]; |
| 125 | X_ = new ElemType[ 1 + (params_.N-1) * abs(params_.incx) + params_.offBX]; |
| 126 | Y_ = new ElemType[ 1 + (params_.N-1) * abs(params_.incy) + params_.offCY]; |
| 127 | backA_ = new ElemType[params_.N * params_.lda + params_.offa]; |
| 128 | |
| 129 | base_ = ::clMath::BlasBase::getInstance(); |
| 130 | } |
| 131 | |
| 132 | template <typename ElemType> |
| 133 | Her2PerformanceTest<ElemType>::~Her2PerformanceTest() |
nothing calls this directly
no outgoing calls
no test coverage detected