Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_stats
Function · 0.45
__init__
Method · 0.45
__call__
Method · 0.45
_setup_gpfifos
Method · 0.45
_do_copy
Method · 0.45
_as_buffer
Method · 0.45
_ensure_stack_size
Method · 0.45
_as_buffer
Method · 0.45
_copyout
Method · 0.45
Calls
2
clear
Method · 0.80
check
Function · 0.70
Tested by
no test coverage detected