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