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

Method SetUp

src/tests/include/nrm2.h:44–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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