forked from tinygrad/tinygrad
push
This commit is contained in:
@@ -291,7 +291,9 @@ full_spec = PatternMatcher([
|
||||
|
||||
# temp VECTORIZE/INDEX during rewrite have the wrong dtype
|
||||
(UPat(Ops.STACK), lambda: True),
|
||||
(UPat(Ops.INDEX), lambda: True),
|
||||
|
||||
# no more bool in index
|
||||
(UPat(Ops.INDEX, name="idx"), lambda idx: not any([dtypes.is_bool(x.dtype) for x in idx.src[1:]])),
|
||||
|
||||
# all loads/stores
|
||||
(UPat((Ops.LOAD, Ops.STORE)), lambda: True),
|
||||
|
||||
Reference in New Issue
Block a user