Skip to content

Commit

Permalink
Added some logs to pam
Browse files Browse the repository at this point in the history
  • Loading branch information
edyounis committed Dec 7, 2023
1 parent beefc2e commit fd1891b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bqskit/compiler/compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,7 @@ def build_seqpam_mapping_optimization_workflow(
IfThenElsePass(
NotPredicate(WidthPredicate(2)),
[
LogPass('Caching permutation-aware synthesis results.'),
ExtractModelConnectivityPass(),
QuickPartitioner(block_size),
ForEachBlockPass(
Expand All @@ -1252,11 +1253,13 @@ def build_seqpam_mapping_optimization_workflow(
),
),
),
LogPass('Preoptimizing with permutation-aware mapping.'),
PAMRoutingPass(),
post_pam_seq,
UnfoldPass(),
RestoreModelConnevtivityPass(),

LogPass('Recaching permutation-aware synthesis results.'),
SubtopologySelectionPass(block_size),
QuickPartitioner(block_size),
ForEachBlockPass(
Expand All @@ -1276,6 +1279,7 @@ def build_seqpam_mapping_optimization_workflow(
),
),
),
LogPass('Performing permutation-aware mapping.'),
ApplyPlacement(),
PAMLayoutPass(num_layout_passes),
PAMRoutingPass(0.1),
Expand Down

0 comments on commit fd1891b

Please sign in to comment.