MCPcopy
hub / github.com/tinygrad/tinygrad / pkt3

Method pkt3

tinygrad/runtime/ops_amd.py:60–60  ·  view source on GitHub ↗
(self, cmd, *vals)

Source from the content-addressed store, hash-verified

58 self.binded_device.allocator.free(self.hw_page, self.hw_page.size, BufferSpec(cpu_access=True, nolru=True, uncached=True))
59
60 def pkt3(self, cmd, *vals): self.q(self.pm4.PACKET3(cmd, len(vals) - 1), *vals)
61
62 def wreg(self, reg:AMDReg, *args:sint, **kwargs:int):
63 if bool(args) == bool(kwargs): raise RuntimeError('One (and only one) of *args or **kwargs must be specified')

Callers 8

wregMethod · 0.95
pred_execMethod · 0.95
wait_reg_memMethod · 0.95
acquire_memMethod · 0.95
release_memMethod · 0.95
pmc_readMethod · 0.95
sqtt_stopMethod · 0.95
execMethod · 0.95

Calls 1

qMethod · 0.45

Tested by

no test coverage detected