@@ -85,15 +85,15 @@ def default_name(self):
8585 pass
8686
8787 @memoize_method
88- def get_cached_loopy_knl_and_optimizations (self ):
89- return self .expansion .loopy_evaluator (self .kernels )
88+ def get_loopy_evaluator_and_optimizations (self ):
89+ return self .expansion .loopy_evaluator_and_optimizations (self .kernels )
9090
9191 def get_cache_key (self ):
9292 return (type (self ).__name__ , self .expansion , tuple (self .kernels ))
9393
9494 def add_loopy_eval_callable (
9595 self , loopy_knl : lp .TranslationUnit ) -> lp .TranslationUnit :
96- inner_knl , _ = self .get_cached_loopy_knl_and_optimizations ()
96+ inner_knl , _ = self .get_loopy_evaluator_and_optimizations ()
9797 loopy_knl = lp .merge ([loopy_knl , inner_knl ])
9898 loopy_knl = lp .inline_callable_kernel (loopy_knl , "e2p" )
9999 for kernel in self .kernels :
@@ -208,7 +208,7 @@ def get_kernel(self, max_ntargets_in_one_box):
208208 return loopy_knl
209209
210210 def get_optimized_kernel (self , max_ntargets_in_one_box ):
211- inner_knl , optimizations = self .get_cached_loopy_knl_and_optimizations ()
211+ inner_knl , optimizations = self .get_loopy_evaluator_and_optimizations ()
212212 knl = self .get_kernel (max_ntargets_in_one_box = max_ntargets_in_one_box )
213213 knl = lp .tag_inames (knl , {"itgt_box" : "g.0" })
214214 knl = lp .split_iname (knl , "itgt_offset" , 256 , inner_tag = "l.0" )
@@ -378,7 +378,7 @@ def get_kernel(self, max_ntargets_in_one_box):
378378 return loopy_knl
379379
380380 def get_optimized_kernel (self , max_ntargets_in_one_box ):
381- _ , optimizations = self .get_cached_loopy_knl_and_optimizations ()
381+ _ , optimizations = self .get_loopy_evaluator_and_optimizations ()
382382 knl = self .get_kernel (max_ntargets_in_one_box = max_ntargets_in_one_box )
383383 knl = lp .tag_inames (knl , {"itgt_box" : "g.0" , "dummy" : "l.0" })
384384 knl = lp .unprivatize_temporaries_with_inames (knl ,
0 commit comments