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

Method __init__

src/scripts/perf/blasPerformanceTesting.py:50–62  ·  view source on GitHub ↗
(self,
                 lengthx, lengthy, lengthz, batchsize,
                 ldsfraction, device, label,
                 gflops)

Source from the content-addressed store, hash-verified

48
49class GraphPoint:
50 def __init__(self,
51 lengthx, lengthy, lengthz, batchsize,
52 ldsfraction, device, label,
53 gflops):
54 self.x = lengthx
55 self.y = lengthy
56 self.z = lengthz
57 self.batchsize = batchsize
58 self.device = device
59 self.label = label
60 self.ldsfraction = ldsfraction
61 self.gflops = gflops
62 self.problemsize = str(int(self.x) * int(self.y) * int(self.z) * int(self.batchsize))
63
64 def __str__(self):
65 # ALL members must be represented here (x, y, z, batch, device, label, ldsfraction, etc)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected