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

Method SetUp

src/tests/include/syr.h:69–104  ·  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 N = ::std::tr1::get<2>(GetParam());
74 alpha = ::std::tr1::get<3>(GetParam());
75 offx = ::std::tr1::get<4>(GetParam());
76 incx = ::std::tr1::get<5>(GetParam());
77 offa = ::std::tr1::get<6>(GetParam());
78 lda = ::std::tr1::get<7>(GetParam());
79
80 numCommandQueues = ::std::tr1::get<8>(GetParam());
81
82 #ifndef SYR_PACKED
83 lda = ::std::max( lda, N );
84 #else
85 lda =0;
86 #endif
87
88 base = ::clMath::BlasBase::getInstance();
89 seed = base->seed();
90 //base->setAlpha(50);
91 //alpha = 50.0;
92
93 useNumCommandQueues = base->useNumCommandQueues();
94 if (useNumCommandQueues) {
95 numCommandQueues = base->numCommandQueues();
96 }
97
98 if (base->useN()) {
99 N = base->N();
100 }
101// if (base->useAlpha()) {
102// alpha = base->Alpha();
103// }
104 }
105
106 clblasOrder order;
107 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