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

Method __init__

src/scripts/perf/fftPerformanceTesting.py:48–60  ·  view source on GitHub ↗
(self,
                 lengthx, lengthy, lengthz, batchsize,
				 precision, device, label,
                 gflops)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected