UOps.PHI -> UOps.ASSIGN [run_process_replay] (#6383)

This commit is contained in:
George Hotz
2024-09-06 12:38:35 +08:00
committed by GitHub
parent 002303c145
commit 86d34daac9
9 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ class PythonProgram:
ul[i] = [load([inp[i][j] if dtp[i].count > 1 else inp[i] for i in range(len(inp))], j) for j in range(dtype.count)]
else:
ul[i] = load(inp)
elif uop is UOps.PHI:
elif uop is UOps.ASSIGN:
for j in range(len(inp[0])): inp[0][j] = inp[1][j]
ul[i] = inp[0]
elif uop is UOps.GEP: