MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / stop

Method stop

python/cutlass_cppgen/utils/profiler.py:67–74  ·  view source on GitHub ↗
(self, stream=None)

Source from the content-addressed store, hash-verified

65 raise RuntimeError(f"CUDA Error {str(err)}")
66
67 def stop(self, stream=None):
68 if not stream:
69 stream = cuda.CUstream(0)
70
71 (err,) = cuda.cuEventRecord(self.events[1], stream)
72 if err != cuda.CUresult.CUDA_SUCCESS:
73 raise RuntimeError(f"CUDA Error {str(err)}")
74 pass
75
76 def stop_and_wait(self, stream=None):
77 if not stream:

Callers 1

stop_and_waitMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected