Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tinygrad/tinygrad
/ patch.py
File
patch.py
extra/usbgpu/patch.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python3
2
import
os, zlib, struct, hashlib
3
from
tinygrad.helpers
import
getenv
4
from
tinygrad.runtime.support.usb
import
USB3
Callers
nothing calls this directly
Calls
6
getenv
Function · 0.90
USB3
Class · 0.90
split
Method · 0.80
patch
Function · 0.70
exists
Method · 0.45
send_batch
Method · 0.45
Tested by
no test coverage detected