mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 15:08:02 -05:00
hotfix: detach is not a metaop
This commit is contained in:
@@ -94,10 +94,10 @@ class MathTrait(SimpleMathTrait):
|
|||||||
# the order of these Ops controls the order of the toposort
|
# the order of these Ops controls the order of the toposort
|
||||||
class Ops(FastEnum):
|
class Ops(FastEnum):
|
||||||
# uops that aren't rendered
|
# uops that aren't rendered
|
||||||
SINK = auto(); CONTIGUOUS = auto(); PRELOAD = auto() # noqa: E702
|
SINK = auto(); CONTIGUOUS = auto(); DETACH = auto(); PRELOAD = auto() # noqa: E702
|
||||||
|
|
||||||
# MetaOps
|
# MetaOps
|
||||||
COPY = auto(); EMPTY = auto(); BUFFER_VIEW = auto(); DETACH = auto() # noqa: E702
|
COPY = auto(); EMPTY = auto(); BUFFER_VIEW = auto() # noqa: E702
|
||||||
|
|
||||||
# blocks in linearizer
|
# blocks in linearizer
|
||||||
BLOCK = auto(); BLOCKSTART = auto(); BLOCKFORK = auto(); BLOCKEND = auto() # noqa: E702
|
BLOCK = auto(); BLOCKSTART = auto(); BLOCKFORK = auto(); BLOCKEND = auto() # noqa: E702
|
||||||
|
|||||||
Reference in New Issue
Block a user