Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ loopback.py
File
loopback.py
extra/mlx_driver/loopback.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python3
2
# GMMU=0 MLX_PCI=0000:41:00.0 PYTHONPATH=. python3 extra/mlx_driver/loopback.py
3
import
struct
4
from
tinygrad.helpers
import
getenv, round_up
Callers
nothing calls this directly
Calls
15
getenv
Function · 0.90
MLXDev
Class · 0.90
PCIDevice
Class · 0.90
MLXQP
Class · 0.90
BufferSpec
Class · 0.90
to_be32
Function · 0.90
to_be64
Function · 0.90
AMDComputeQueue
Class · 0.90
map_phys_to_gpu
Function · 0.85
next_timeline
Method · 0.80
submit
Method · 0.80
connect
Method · 0.45
Tested by
no test coverage detected