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

Class ExtraTestSizes

src/tests/include/ExtraTestSizes.h:37–86  ·  view source on GitHub ↗

* Common convention: * If a field is zero at test specialization, it is assumed to be undefined. * In this case a test itself is responsible for assigning some value to it. */

Source from the content-addressed store, hash-verified

35 * In this case a test itself is responsible for assigning some value to it.
36 */
37struct ExtraTestSizes
38{
39 ExtraTestSizes() : offA(0), offBX(0), offCY(0)
40 {
41 strideA.ld = 0;
42 strideBX.ld = 0;
43 strideCY.ld = 0;
44 }
45
46 ExtraTestSizes(
47 size_t lda,
48 int incx,
49 int incy,
50 size_t offA,
51 size_t offBX,
52 size_t offCY)
53 {
54 strideA.ld = lda;
55 strideBX.ld = 0;
56 strideBX.inc = incx;
57 strideCY.ld = 0;
58 strideCY.inc = incy;
59 this->offA = offA;
60 this->offBX = offBX;
61 this->offCY = offCY;
62 }
63
64 ExtraTestSizes(
65 size_t lda,
66 size_t ldb,
67 size_t ldc,
68 size_t offA,
69 size_t offBX,
70 size_t offCY)
71 {
72 strideA.ld = lda;
73 strideBX.ld = ldb;
74 strideCY.ld = ldc;
75 this->offA = offA;
76 this->offBX = offBX;
77 this->offCY = offCY;
78 }
79
80 BlasStride strideA;
81 BlasStride strideBX;
82 BlasStride strideCY;
83 size_t offA;
84 size_t offBX;
85 size_t offCY;
86};
87
88template<typename T2, typename T3> class IteratorETS
89{

Callers 3

IteratorETSClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected