MCPcopy
hub / github.com/tinygrad/tinygrad / synchronize

Method synchronize

tinygrad/runtime/ops_cl.py:131–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

129 def count(self) -> int: return len(unwrap(self.device_ids))
130
131 def synchronize(self):
132 check(cl.clFinish(self.queue))
133 self.pending_copyin.clear()

Callers 9

track_statsFunction · 0.45
__init__Method · 0.45
__call__Method · 0.45
_setup_gpfifosMethod · 0.45
_do_copyMethod · 0.45
_as_bufferMethod · 0.45
_ensure_stack_sizeMethod · 0.45
_as_bufferMethod · 0.45
_copyoutMethod · 0.45

Calls 2

clearMethod · 0.80
checkFunction · 0.70

Tested by

no test coverage detected