MCPcopy Index your code
hub / github.com/tinygrad/tinygrad / read

Method read

extra/usbgpu/debug.py:72–73  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

70 print("Device reset complete.")
71
72 def read(self) -> bytes:
73 return self.ftdi.read_data(256).decode('utf-8', errors='replace')
74
75
76if __name__ == "__main__":

Callers 15

loadMethod · 0.45
max_matmul.pyFile · 0.45
test_kfd_2.pyFile · 0.45
sleepMethod · 0.45
rgptool.pyFile · 0.45
mainFunction · 0.45
_init_from_d0Method · 0.45
read_pci_stateMethod · 0.45
rescan_devsMethod · 0.45
fetch_file.pyFile · 0.45
debug.pyFile · 0.45
patchFunction · 0.45

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected