CommandQueue is the future (#3950)

* start of command queue

* cq work

* runs

* cleanup

* outs set

* read is gone

* future buffer work

* command queue is better

* command queue works

* loadops

* delete unneeded

* command queue works

* upd

* fix tests

* use CommandQueue in compile

* delay sync
This commit is contained in:
George Hotz
2024-04-01 17:35:48 -07:00
committed by GitHub
parent 0a34d6016b
commit 7425a0c646
9 changed files with 133 additions and 70 deletions

View File

@@ -45,7 +45,6 @@ class DiskAllocator(Allocator):
dest[:] = src._buf()
class DiskRunner(JITRunner):
skip_allocation = True
def __init__(self, ast:LazyOp):
# two ASTs are allowed here.
assert ast.op is BufferOps.STORE, "output of AST must be store"