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

Method Her2PerformanceTest

src/tests/performance/perf-her2.cpp:119–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected