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

Method SetUp

src/tests/include/copy.h:46–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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