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

Method start

examples/tensorflow/common_utils/common.py:116–119  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

114 self.profiler = ctypes.CDLL("libcudart.so")
115
116 def start(self):
117 ret = self.profiler.cudaProfilerStart()
118 if ret != 0:
119 raise Exception("cudaProfilerStart() return %d " %ret)
120
121 def stop(self):
122 ret = self.profiler.cudaProfilerStop()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected