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