mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
delete create_schedule, only create_schedule_with_vars [pr] (#8450)
This commit is contained in:
parent
866dfa1f23
commit
d157b20027
1 changed files with 0 additions and 5 deletions
|
|
@ -611,8 +611,3 @@ def create_schedule_with_vars(outs:list[UOp], skip_check:bool=not __debug__) ->
|
|||
if len(schedule) != (groups:=len(prescheduled)): raise RuntimeError(f"cycle detected in graph, grouped {groups} but only scheduled {len(schedule)}")
|
||||
if DEBUG >= 1 and len(schedule) >= 10: print(f"scheduled {len(schedule)} kernels")
|
||||
return schedule, ctx.var_vals
|
||||
|
||||
def create_schedule(outs:list[UOp]) -> list[ScheduleItem]:
|
||||
schedule, var_vals = create_schedule_with_vars(outs)
|
||||
assert len(var_vals) == 0
|
||||
return schedule
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue