MCPcopy
hub / github.com/tinygrad/tinygrad / _IOR

Function _IOR

tinygrad/runtime/support/c.py:17–17  ·  view source on GitHub ↗
(base, nr, typ)

Source from the content-addressed store, hash-verified

15def _IO(base, nr): return functools.partial(_do_ioctl, 0, ord(base) if isinstance(base, str) else base, nr, None)
16def _IOW(base, nr, typ): return functools.partial(_do_ioctl, 1, ord(base) if isinstance(base, str) else base, nr, typ)
17def _IOR(base, nr, typ): return functools.partial(_do_ioctl, 2, ord(base) if isinstance(base, str) else base, nr, typ)
18def _IOWR(base, nr, typ): return functools.partial(_do_ioctl, 3, ord(base) if isinstance(base, str) else base, nr, typ)
19
20T = TypeVar("T")

Callers 3

kgsl.pyFile · 0.90
amdgpu_drm.pyFile · 0.90
kfd.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…