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

Method SetUp

src/tests/include/syr2.h:77–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76protected:
77 virtual void SetUp()
78 {
79 order = ::std::tr1::get<0>(GetParam());
80 uplo = ::std::tr1::get<1>(GetParam());
81 N = ::std::tr1::get<2>(GetParam());
82 alpha = ::std::tr1::get<3>(GetParam());
83 offx = ::std::tr1::get<4>(GetParam());
84 incx = ::std::tr1::get<5>(GetParam());
85 offy = ::std::tr1::get<6>(GetParam());
86 offa = ::std::tr1::get<7>(GetParam());
87 lda = ::std::tr1::get<8>(GetParam());
88
89 numCommandQueues = ::std::tr1::get<9>(GetParam());
90
91 incy = incx; //GTest allows only 10 arguments to be passed and
92 //hence we define incy to be equivalent to incx.
93
94 #ifndef SYR2_PACKED
95 lda = ::std::max( lda, N );
96 #else
97 lda =0;
98 #endif
99
100 base = ::clMath::BlasBase::getInstance();
101 seed = base->seed();
102
103 useNumCommandQueues = base->useNumCommandQueues();
104 if (useNumCommandQueues) {
105 numCommandQueues = base->numCommandQueues();
106 }
107
108 if (base->useN()) {
109 N = base->N();
110 }
111 }
112
113 clblasOrder order;
114 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