Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinygrad/tinygrad
/ do_split_ends
Function
do_split_ends
tinygrad/codegen/late/linearizer.py:88–91 ·
view source on GitHub ↗
(e:UOp)
Source
from the content-addressed store, hash-verified
86
])
87
88
def
do_split_ends(e:UOp):
89
ret = e.src[0]
90
for
r in sorted(UOp.sink(*e.src[1:]).ranges, key=
lambda
x: x.arg, reverse=True): ret = ret.end(r)
91
return
ret
92
93
pm_split_ends = PatternMatcher([
94
# split the ends
Callers
nothing calls this directly
Calls
2
sink
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…