mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-02-18 02:21:40 -05:00
delete extra check in DEFINE_ACC [run_process_replay] (#5375)
This commit is contained in:
@@ -587,7 +587,7 @@ class UOpGraph:
|
||||
while queue:
|
||||
p,x = heapq.heappop(queue)
|
||||
if DEBUG >= 7: print(p,x)
|
||||
if x.op is UOps.DEFINE_ACC and len(x.src) > 1:
|
||||
if x.op is UOps.DEFINE_ACC:
|
||||
idx = min([self._uops.index(l) for l in x.src if l.op is UOps.RANGE])
|
||||
self._uops.insert(idx, x)
|
||||
else: self._uops.append(x)
|
||||
|
||||
Reference in New Issue
Block a user