mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-24 06:18:01 -05:00
need hand opt with IMAGE==2
This commit is contained in:
@@ -231,7 +231,7 @@ class CLASTKernel(ASTKernel):
|
||||
def codegen(self) -> Callable:
|
||||
self.process()
|
||||
self.upcast_in_mid_reduce = False
|
||||
if not KOPT: self.hand_coded_optimizations()
|
||||
if not KOPT or IMAGE == 2: self.hand_coded_optimizations()
|
||||
|
||||
# add a local buffer for multistage reduce
|
||||
if len(self.group_for_reduce):
|
||||
|
||||
Reference in New Issue
Block a user