Skip to content

Conversation

@Xiao-zhen-Liu
Copy link
Contributor

@Xiao-zhen-Liu Xiao-zhen-Liu commented Aug 14, 2025

As CostEstimator.allocateResourcesAndEstimateCost can be expensive, this PR adds memoization of region costs (and also resource configs) during the search process of CostBasedScheduleGenerator.

…ozhen-region-cost-memo

# Conflicts:
#	core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/scheduling/CostBasedScheduleGenerator.scala
Base automatically changed from xiaozhen-resource-allocator-in-cost-estimator to main August 21, 2025 01:25
…memo

# Conflicts:
#	core/amber/src/main/scala/edu/uci/ics/amber/engine/architecture/scheduling/CostBasedScheduleGenerator.scala
Copy link
Contributor

@Yicong-Huang Yicong-Huang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left minor comments.

@Xiao-zhen-Liu Xiao-zhen-Liu merged commit a2a4298 into main Aug 27, 2025
17 of 18 checks passed
@Xiao-zhen-Liu Xiao-zhen-Liu deleted the xiaozhen-region-cost-memo branch August 27, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants