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

Method __init__

src/scripts/perf/blasPerformanceTesting.py:27–44  ·  view source on GitHub ↗
(self,
                 lengthx, lengthy, lengthz, batchsize,
                 device, inlayout, outlayout, placeness,
                 ldscomplex, ldsfraction, cachesize, xfactor,
                 label)

Source from the content-addressed store, hash-verified

25
26class TestCombination:
27 def __init__(self,
28 lengthx, lengthy, lengthz, batchsize,
29 device, inlayout, outlayout, placeness,
30 ldscomplex, ldsfraction, cachesize, xfactor,
31 label):
32 self.x = lengthx
33 self.y = lengthy
34 self.z = lengthz
35 self.batchsize = batchsize
36 self.device = device
37 self.inlayout = inlayout
38 self.outlayout = outlayout
39 self.placeness = placeness
40 self.ldscomplex = ldscomplex
41 self.ldsfraction = ldsfraction
42 self.cachesize = cachesize
43 self.xfactor = xfactor
44 self.label = label
45
46 def __str__(self):
47 return self.x + 'x' + self.y + 'x' + self.z + ':' + self.batchsize + ', ' + self.device + ', ' + self.inlayout + '/' + self.outlayout + ', ' + self.placeness + ', LDS comp(' + self.ldscomplex + '), LDS frac(' + self.ldsfraction + '), cachesz(' + self.cachesize + '), X-factor(' + self.xfactor + ') -- ' + self.label

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected