Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B-ASIC - Better ASIC Toolbox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computer Engineering
B-ASIC - Better ASIC Toolbox
Commits
b145871a
Commit
b145871a
authored
1 year ago
by
Mikael Henriksson
Browse files
Options
Downloads
Patches
Plain Diff
resources.py: default all heuristics to left_edge
parent
8a028e82
No related branches found
Branches containing commit
No related tags found
1 merge request
!430
Add `split_ports_sequentially()`, left-edge based `split_on_ports()`, and always default to the left-edge heuristic
Pipeline
#103127
failed
1 year ago
Stage: test
Stage: deploy
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
b_asic/resources.py
+1
-1
1 addition, 1 deletion
b_asic/resources.py
test/test_resources.py
+1
-1
1 addition, 1 deletion
test/test_resources.py
with
2 additions
and
2 deletions
b_asic/resources.py
+
1
−
1
View file @
b145871a
...
...
@@ -848,7 +848,7 @@ class ProcessCollection:
def
split_on_execution_time
(
self
,
heuristic
:
str
=
"
graph_color
"
,
heuristic
:
str
=
"
left_edge
"
,
coloring_strategy
:
str
=
"
saturation_largest_first
"
,
)
->
List
[
"
ProcessCollection
"
]:
"""
...
...
This diff is collapsed.
Click to expand it.
test/test_resources.py
+
1
−
1
View file @
b145871a
...
...
@@ -77,7 +77,7 @@ class TestProcessCollectionPlainMemoryVariable:
collection
=
generate_matrix_transposer
(
4
,
min_lifetime
=
5
)
assignment_left_edge
=
collection
.
_left_edge_assignment
()
assignment_graph_color
=
collection
.
split_on_execution_time
(
coloring_strategy
=
'
saturation_largest_first
'
heuristic
=
"
graph_color
"
,
coloring_strategy
=
'
saturation_largest_first
'
)
assert
len
(
assignment_left_edge
)
==
18
assert
len
(
assignment_graph_color
)
==
16
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment