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

Method SetUp

src/tests/include/sbmv.h:66–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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