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

Method SetUp

src/tests/include/hbmv.h:67–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65
66protected:
67 virtual void SetUp()
68 {
69 ExtraTestSizes extra;
70
71 order = ::std::tr1::get<0>(GetParam());
72 uplo = ::std::tr1::get<1>(GetParam());
73 N = ::std::tr1::get<2>(GetParam());
74 KLU = ::std::tr1::get<3>(GetParam());
75 extra = ::std::tr1::get<4>(GetParam());
76 offA = extra.offA;
77 offx = extra.offBX;
78 offy = extra.offCY;
79 lda = extra.strideA.ld;
80 incx = extra.strideBX.inc;
81 incy = extra.strideCY.inc;
82 paramAlpha = ::std::tr1::get<5>(GetParam());
83 paramBeta = ::std::tr1::get<6>(GetParam());
84 numCommandQueues = ::std::tr1::get<7>(GetParam());
85
86 base = ::clMath::BlasBase::getInstance();
87 seed = base->seed();
88
89 useNumCommandQueues = base->useNumCommandQueues();
90 if (useNumCommandQueues) {
91 numCommandQueues = base->numCommandQueues();
92 }
93
94 KLU = KLU % N;
95 lda = ::std::max(lda, (KLU+1));
96 }
97
98 clblasOrder order;
99 clblasUplo uplo;

Callers

nothing calls this directly

Calls 3

seedMethod · 0.80
useNumCommandQueuesMethod · 0.80
numCommandQueuesMethod · 0.80

Tested by

no test coverage detected