Xiao-zhen-Liu commented on code in PR #3660:
URL: https://github.com/apache/texera/pull/3660#discussion_r2299644976
##########
core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/scheduling/CostBasedScheduleGenerator.scala:
##########
@@ -606,8 +610,8 @@ class CostBasedScheduleGenerator(
.map(level =>
level
.map(region => {
- val (resourceConfig, regionCost) =
- costEstimator.allocateResourcesAndEstimateCost(region, 1)
+ val (resourceConfig, regionCost) = costEstimatorMemoization
Review Comment:
It has the same lifecycle as `CostBasedScheduleGenerator` and it needs to be
used throughout the search process. As a result it is cleaned after the
scheduler generates a schedule.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]