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

Class GraphPoint

src/scripts/perf/fftPerformanceTesting.py:47–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 return self.x + 'x' + self.y + 'x' + self.z + ':' + self.batchsize + ', ' + self.device + ', ' + self.inlayout + '/' + self.outlayout + ', ' + self.placeness + ', ' + self.precision + ' -- ' + self.label
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)
64 return self.x + 'x' + self.y + 'x' + self.z + ':' + self.batchsize + ', ' + self.precision + ' precision, ' + self.device + ', -- ' + self.label + '; ' + self.gflops
65
66class TableRow:
67 # parameters = class TestCombination instantiation

Callers 1

plotFromDataFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected