MCPcopy
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
3import struct
4from tinygrad.helpers import getenv, round_up

Callers

nothing calls this directly

Calls 15

getenvFunction · 0.90
MLXDevClass · 0.90
PCIDeviceClass · 0.90
MLXQPClass · 0.90
BufferSpecClass · 0.90
to_be32Function · 0.90
to_be64Function · 0.90
AMDComputeQueueClass · 0.90
map_phys_to_gpuFunction · 0.85
next_timelineMethod · 0.80
submitMethod · 0.80
connectMethod · 0.45

Tested by

no test coverage detected