tinygrad/extra/mockgpu/gpu.py

7 lines
216 B
Python

class VirtGPU:
def __init__(self, gpuid):
self.gpuid = gpuid
self.regs = {}
def map_range(self, vaddr, size): raise NotImplementedError()
def unmap_range(self, vaddr, size): raise NotImplementedError()