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