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

Method SetUp

src/tests/include/swap.h:51–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50protected:
51 virtual void SetUp()
52 {
53 N = ::std::tr1::get<0>(GetParam());
54 offBX = ::std::tr1::get<1>(GetParam());
55 incx = ::std::tr1::get<2>(GetParam());
56 offCY = ::std::tr1::get<3>(GetParam());
57 incy = ::std::tr1::get<4>(GetParam());
58 numCommandQueues = ::std::tr1::get<5>(GetParam());
59
60 base = ::clMath::BlasBase::getInstance();
61 seed = base->seed();
62
63 useNumCommandQueues = base->useNumCommandQueues();
64 if (useNumCommandQueues) {
65 numCommandQueues = base->numCommandQueues();
66 }
67
68 if (base->useN()) {
69 N = base->N();
70 }
71 }
72
73 size_t N;
74 size_t offBX;

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected