| 75 | |
| 76 | protected: |
| 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; |
nothing calls this directly
no test coverage detected