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

Method SetUp

src/tests/include/rot.h:55–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54protected:
55 virtual void SetUp()
56 {
57 N = ::std::tr1::get<0>(GetParam());
58 offa = ::std::tr1::get<1>(GetParam());
59 incx = ::std::tr1::get<2>(GetParam());
60 offb = ::std::tr1::get<3>(GetParam());
61 incy = ::std::tr1::get<4>(GetParam());
62 alpha = ::std::tr1::get<5>(GetParam());
63 beta = ::std::tr1::get<6>(GetParam());
64 numCommandQueues = ::std::tr1::get<7>(GetParam());
65
66 base = ::clMath::BlasBase::getInstance();
67
68 useNumCommandQueues = base->useNumCommandQueues();
69 if (useNumCommandQueues)
70 {
71 numCommandQueues = base->numCommandQueues();
72 }
73 }
74
75 size_t N, offa, offb;
76 int incx, incy;

Callers

nothing calls this directly

Calls 2

useNumCommandQueuesMethod · 0.80
numCommandQueuesMethod · 0.80

Tested by

no test coverage detected