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

Method SetUp

src/tests/include/tbmv.h:64–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

seedMethod · 0.80
useNumCommandQueuesMethod · 0.80
numCommandQueuesMethod · 0.80

Tested by

no test coverage detected