MCPcopy
hub / github.com/tinygrad/tinygrad / test_simple_buffer

Method test_simple_buffer

test/null/test_memory_planner.py:73–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

71 global_map = {}
72
73 def test_simple_buffer(self):
74 bs = [
75 [b(0), b(1), b(2)],
76 [b(1), b(2), b(3)],
77 [b(4), b(3)],
78 [b(5), b(2)],
79 ]
80 check_assign(bs)
81
82 def test_simple_pinned(self):
83 bs = [

Callers

nothing calls this directly

Calls 2

check_assignFunction · 0.85
bFunction · 0.70

Tested by

no test coverage detected