(self)
| 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() |
nothing calls this directly
no outgoing calls
no test coverage detected