MCPcopy
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

1import ctypes, array
2from hexdump import hexdump
3from tinygrad.runtime.ops_cl import CLDevice
4from tinygrad.helpers import getenv, to_mv, mv_address

Callers

nothing calls this directly

Calls 15

getenvFunction · 0.90
CLDeviceClass · 0.90
mv_addressFunction · 0.90
to_mvFunction · 0.90
calcFunction · 0.85
from_blobMethod · 0.80
reshapeMethod · 0.80
imagefMethod · 0.80
clipMethod · 0.80
randnMethod · 0.80
realizeMethod · 0.80
allMethod · 0.80

Tested by

no test coverage detected