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

Method SetUp

src/tests/include/iamax.h:44–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43protected:
44 virtual void SetUp()
45 {
46 N = ::std::tr1::get<0>(GetParam());
47 incx = ::std::tr1::get<1>(GetParam());
48 offx = ::std::tr1::get<2>(GetParam());
49 offiAmax = ::std::tr1::get<3>(GetParam());
50 numCommandQueues = ::std::tr1::get<4>(GetParam());
51
52 base = ::clMath::BlasBase::getInstance();
53
54 useNumCommandQueues = base->useNumCommandQueues();
55 if (useNumCommandQueues) {
56 numCommandQueues = base->numCommandQueues();
57 }
58
59 if (base->useN()) {
60 N = base->N();
61 }
62 }
63
64 size_t N;
65 int incx;

Callers

nothing calls this directly

Calls 4

useNumCommandQueuesMethod · 0.80
numCommandQueuesMethod · 0.80
useNMethod · 0.80
NMethod · 0.80

Tested by

no test coverage detected