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

Method TpsvPerformanceTest

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected