| 121 | |
| 122 | template <typename ElemType> |
| 123 | TpmvPerformanceTest<ElemType>::TpmvPerformanceTest( |
| 124 | BlasFunction fn, |
| 125 | TestParams *params) : PerformanceTest( fn, (problem_size_t)( ( params->N * (params->N+1) * sizeof(ElemType) ) ) ), |
| 126 | params_(*params), mobjAP_(NULL), mobjX_(NULL) |
| 127 | { |
| 128 | |
| 129 | AP_ = new ElemType[( ( params_.N *( params_.N + 1 ) )/2 ) + params_.offa]; |
| 130 | X_ = new ElemType[ 1 + (params_.N-1) * abs(params_.incx) + params_.offBX]; |
| 131 | backX_ = new ElemType[ 1 + (params_.N-1) * abs(params_.incx) + params_.offBX]; |
| 132 | |
| 133 | base_ = ::clMath::BlasBase::getInstance(); |
| 134 | mobjAP_ = NULL; |
| 135 | mobjX_ = NULL; |
| 136 | scratchBuff = NULL; |
| 137 | } |
| 138 | |
| 139 | template <typename ElemType> |
| 140 | TpmvPerformanceTest<ElemType>::~TpmvPerformanceTest() |
nothing calls this directly
no outgoing calls
no test coverage detected