Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ qcom_opencl_interop.py
File
qcom_opencl_interop.py
extra/qcom_gpu_driver/qcom_opencl_interop.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
ctypes, array
2
from
hexdump
import
hexdump
3
from
tinygrad.runtime.ops_cl
import
CLDevice
4
from
tinygrad.helpers
import
getenv, to_mv, mv_address
Callers
nothing calls this directly
Calls
15
getenv
Function · 0.90
CLDevice
Class · 0.90
mv_address
Function · 0.90
to_mv
Function · 0.90
calc
Function · 0.85
from_blob
Method · 0.80
reshape
Method · 0.80
imagef
Method · 0.80
clip
Method · 0.80
randn
Method · 0.80
realize
Method · 0.80
all
Method · 0.80
Tested by
no test coverage detected