MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / __call__

Method __call__

python/cutlass_cppgen/utils/profiler.py:109–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 #
108
109 def __call__(self):
110 for _ in range(self.warmup_iterations):
111 self.operation.run(self.arguments)
112
113 self.timer.start()
114 for _ in range(self.iterations):
115 self.operation.run(self.arguments)
116
117 self.timer.stop_and_wait()
118 runtime = self.timer.duration(self.iterations)
119 return runtime
120
121 #
122 # CUTLASS Profiler

Callers

nothing calls this directly

Calls 5

rangeClass · 0.85
runMethod · 0.45
startMethod · 0.45
stop_and_waitMethod · 0.45
durationMethod · 0.45

Tested by

no test coverage detected