MCPcopy Create free account
hub / github.com/clMathLibraries/clBLAS / HprPerformanceTest

Method HprPerformanceTest

src/tests/performance/perf-hpr.cpp:112–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111template <typename ElemType>
112HprPerformanceTest<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
124template <typename ElemType>
125HprPerformanceTest<ElemType>::~HprPerformanceTest()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected