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

Method SetUp

src/tests/include/trsv.h:69–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67
68protected:
69 virtual void SetUp()
70 {
71 order = ::std::tr1::get<0>(GetParam());
72 uplo = ::std::tr1::get<1>(GetParam());
73 transA = ::std::tr1::get<2>(GetParam());
74 diag = ::std::tr1::get<3>(GetParam());
75 N = ::std::tr1::get<4>(GetParam());
76 lda = ::std::tr1::get<5>(GetParam());
77 incx = ::std::tr1::get<6>(GetParam());
78 offa = ::std::tr1::get<7>(GetParam());
79 offx = ::std::tr1::get<8>(GetParam());
80 numCommandQueues = ::std::tr1::get<9>(GetParam());
81
82
83 #ifndef TRSV_PACKED_
84 lda = ::std::max( lda, N );
85 #else
86 lda = 0;
87 #endif
88
89 base = ::clMath::BlasBase::getInstance();
90 seed = base->seed();
91
92 useNumCommandQueues = base->useNumCommandQueues();
93 if (useNumCommandQueues) {
94 numCommandQueues = base->numCommandQueues();
95 }
96
97 if (base->useN()) {
98 N = base->N();
99 }
100 }
101
102 clblasOrder order;
103 clblasUplo uplo;

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