| 125 | |
| 126 | template <typename ElemType> |
| 127 | TrmvPerformanceTest<ElemType>::TrmvPerformanceTest( |
| 128 | BlasFunction fn, |
| 129 | TestParams *params) : PerformanceTest( fn, (problem_size_t)( ( params->N * (params->N+1) * sizeof(ElemType) ) ) ), //**************Gbps formula here*********** |
| 130 | params_(*params), mobjA_(NULL), mobjX_(NULL) |
| 131 | { |
| 132 | |
| 133 | A_ = new ElemType[params_.N * params_.lda + params_.offa]; |
| 134 | X_ = new ElemType[ 1 + (params_.N-1) * abs(params_.incx) + params_.offBX]; |
| 135 | backX_ = new ElemType[ 1 + (params_.N-1) * abs(params_.incx) + params_.offBX]; |
| 136 | |
| 137 | base_ = ::clMath::BlasBase::getInstance(); |
| 138 | mobjA_ = NULL; |
| 139 | mobjX_ = NULL; |
| 140 | scratchBuff = NULL; |
| 141 | } |
| 142 | |
| 143 | template <typename ElemType> |
| 144 | TrmvPerformanceTest<ElemType>::~TrmvPerformanceTest() |
nothing calls this directly
no outgoing calls
no test coverage detected