MCPcopy
hub / github.com/tinygrad/tinygrad / VirtMapping

Class VirtMapping

tinygrad/runtime/support/memory.py:113–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111
112@dataclasses.dataclass(frozen=True)
113class VirtMapping: va_addr:int; size:int; paddrs:list[tuple[int, int]]; aspace:AddrSpace; uncached:bool=False; snooped:bool=False # noqa: E702
114
115class PageTableTraverseContext:
116 def __init__(self, dev, pt, vaddr, create_pts=False, free_pts=False, inspect=False, boot=False):

Callers 3

_bufMethod · 0.90
map_rangeMethod · 0.85
vallocMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…