MCPcopy
hub / github.com/tinygrad/tinygrad / wait

Method wait

extra/hcq2/ops_amd2.py:89–89  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

87 self.acquire_mem()
88
89 def wait(self, x): self.wait_reg_mem(x.src[1], mem=self.get_dev_addr(x.src[0]))
90
91 def barrier(self, x): self.memory_barrier()
92

Callers

nothing calls this directly

Calls 2

wait_reg_memMethod · 0.95
get_dev_addrMethod · 0.80

Tested by

no test coverage detected