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

Method TrsvPerformanceTest

src/tests/performance/perf-trsv.cpp:118–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116
117template <typename ElemType>
118TrsvPerformanceTest<ElemType>::TrsvPerformanceTest(
119 BlasFunction fn,
120 TestParams *params) : PerformanceTest( fn, (problem_size_t)( ( params->N * (params->N+1) * sizeof(ElemType) ) ) ),
121 params_(*params), mobjA_(NULL), mobjX_(NULL)
122{
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 backX_ = new ElemType[ 1 + ((params_.N-1) * abs(params_.incx)) + params_.offBX ];
127
128 base_ = ::clMath::BlasBase::getInstance();
129}
130
131template <typename ElemType>
132TrsvPerformanceTest<ElemType>::~TrsvPerformanceTest()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected