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

Method HerPerformanceTest

src/tests/performance/perf-her.cpp:117–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115
116template <typename ElemType>
117HerPerformanceTest<ElemType>::HerPerformanceTest(
118 BlasFunction fn,
119 TestParams *params) : PerformanceTest(fn, (problem_size_t)((((params->N * params->N) + params->N) * 2 ) * sizeof(ElemType))),
120 params_(*params), mobjA_(NULL), mobjX_(NULL)
121{
122 A_ = new ElemType[params_.N * params_.lda + params_.offa];
123 X_ = new ElemType[ 1 + (params_.N-1) * abs(params_.incx) + params_.offBX];
124 backA_ = new ElemType[params_.N * params_.lda + params_.offa];
125
126 base_ = ::clMath::BlasBase::getInstance();
127}
128
129template <typename ElemType>
130HerPerformanceTest<ElemType>::~HerPerformanceTest()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected