MCPcopy
hub / github.com/tinygrad/tinygrad / timestamp

Method timestamp

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

Source from the content-addressed store, hash-verified

95 self.pm4.int_sel__mec_release_mem__send_interrupt_after_write_confirm, cache_flush=True)
96
97 def timestamp(self, x):
98 self.release_mem(self.get_dev_addr(x.src[0]), 0, self.pm4.data_sel__mec_release_mem__send_gpu_clock_counter,
99 self.pm4.int_sel__mec_release_mem__none)
100
101 def program(self, x):
102 data, info = x.arg

Callers

nothing calls this directly

Calls 2

release_memMethod · 0.95
get_dev_addrMethod · 0.80

Tested by

no test coverage detected