(self)
| 113 | self.profiler = ctypes.CDLL("libcudart.so") |
| 114 | |
| 115 | def start(self): |
| 116 | ret = self.profiler.cudaProfilerStart() |
| 117 | if ret != 0: |
| 118 | raise Exception("cudaProfilerStart() return %d " %ret) |
| 119 | |
| 120 | def stop(self): |
| 121 | ret = self.profiler.cudaProfilerStop() |
no outgoing calls
no test coverage detected