From 014f8707330c5b709df3e624fcc6a2b78f920ef0 Mon Sep 17 00:00:00 2001 From: kamilisjon Date: Mon, 21 Apr 2025 17:23:45 +0300 Subject: [PATCH] rm (#9959) Co-authored-by: KamilisJonkus --- tinygrad/ops.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tinygrad/ops.py b/tinygrad/ops.py index 2dd45321ee..20b023897e 100644 --- a/tinygrad/ops.py +++ b/tinygrad/ops.py @@ -99,7 +99,7 @@ class Ops(FastEnum): COPY = auto(); BUFFER_VIEW = auto() # noqa: E702 # blocks in linearizer - BLOCK = auto(); BLOCKSTART = auto(); BLOCKFORK = auto(); BLOCKEND = auto() # noqa: E702 + BLOCK = auto(); BLOCKSTART = auto(); BLOCKEND = auto() # noqa: E702 # movement ops! RESHAPE = auto(); PERMUTE = auto(); EXPAND = auto(); PAD = auto(); SHRINK = auto(); FLIP = auto() # noqa: E702 @@ -164,7 +164,7 @@ class GroupOp: Movement = {Ops.RESHAPE, Ops.EXPAND, Ops.PERMUTE, Ops.PAD, Ops.SHRINK, Ops.FLIP} Buffer = {Ops.LOAD, Ops.STORE, Ops.VALID, Ops.CONST, Ops.DEFINE_VAR} - Block = {Ops.BLOCK, Ops.BLOCKEND, Ops.BLOCKFORK, Ops.BLOCKSTART} + Block = {Ops.BLOCK, Ops.BLOCKEND, Ops.BLOCKSTART} # BinaryOps that can be flipped Commutative = {Ops.ADD, Ops.MUL, Ops.MAX, Ops.CMPNE, Ops.XOR, Ops.AND, Ops.OR}