MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / start

Method start

examples/tensorflow/decoder/utils/common.py:301–304  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

299 self.profiler = ctypes.CDLL("libcudart.so")
300
301 def start(self):
302 ret = self.profiler.cudaProfilerStart()
303 if ret != 0:
304 raise Exception("cudaProfilerStart() return %d " %ret)
305
306 def stop(self):
307 ret = self.profiler.cudaProfilerStop()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected