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

Method SetUp

src/tests/include/gbmv.h:70–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

seedMethod · 0.80
useNumCommandQueuesMethod · 0.80
numCommandQueuesMethod · 0.80

Tested by

no test coverage detected