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

Method SetUp

src/tests/include/dot.h:48–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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