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

Method SetUp

src/tests/include/axpy.h:53–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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