mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
need hand opt with IMAGE==2
This commit is contained in:
parent
b925d05e22
commit
353e81fa8f
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue