(self, region_list: List[Region], memory_budget: float = -1.0, search_window_size: int = 3)
| 298 | |
| 299 | class AsynGreedySolver(Solver): |
| 300 | def __init__(self, region_list: List[Region], memory_budget: float = -1.0, search_window_size: int = 3): |
| 301 | super().__init__(region_list, memory_budget) |
| 302 | |
| 303 | self.search_window_size = search_window_size |
| 304 | # Records the prefetch execution location of the offloaded region |
| 305 | self.region_to_region_map = {} |
| 306 | self.best_ts: AsynTrainingSimulator = None |
| 307 | |
| 308 | self._init_state() |
| 309 | |
| 310 | def _init_state(self): |
| 311 | """ |
nothing calls this directly
no test coverage detected