Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global data new #423

Merged
merged 139 commits into from
Jul 21, 2022
Merged
Changes from 1 commit
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
e5f8963
move graph data to pacman level
Christian-B Dec 3, 2021
626393d
use get_graph to avoid not running check
Christian-B Dec 3, 2021
54b31c9
malloc_based_chip_id_allocator using runtime_best_graph
Christian-B Dec 3, 2021
db31bfb
mock global data during tests
Christian-B Dec 3, 2021
f66b680
allow mock to only have a machine graph
Christian-B Dec 3, 2021
03a9ca8
splitter_partitioner using runtime_graph
Christian-B Dec 3, 2021
dac0de5
flake8
Christian-B Dec 6, 2021
ae5f46b
machine level support methods
Christian-B Dec 6, 2021
c67f279
placers use global machine
Christian-B Dec 6, 2021
acebae0
flake8
Christian-B Dec 6, 2021
aa80267
routers use global machine
Christian-B Dec 6, 2021
de13258
allocator graph from globals
Christian-B Dec 6, 2021
72383d3
graph from globals
Christian-B Dec 6, 2021
93d1852
DataLocked exception if in wrong state
Christian-B Dec 7, 2021
e1eae43
transceiver in globals
Christian-B Dec 7, 2021
a593fbc
data states STOPPING and SHUT_DOWN
Christian-B Dec 9, 2021
765404c
Merge branch 'global_data4' into global_data_new
Christian-B Dec 9, 2021
52d89a5
writer access to runtime machione graph
Christian-B Dec 9, 2021
fabb58b
Merge branch 'global_data4' into global_data_new
Christian-B Dec 9, 2021
f0fd199
Routing_infos in data
Christian-B Dec 13, 2021
0e45c3f
added stopping stage
Christian-B Dec 15, 2021
bae3bf4
Merge branch 'g4' into global_data4
Christian-B Dec 16, 2021
8bd343d
Merge branch 'global_data4' into global_data_new
Christian-B Dec 16, 2021
2272407
machine from globals
Christian-B Dec 17, 2021
392e378
machine from globals
Christian-B Dec 21, 2021
0757451
self._machine still needed for now
Christian-B Jan 4, 2022
609b869
machine from globals
Christian-B Jan 4, 2022
1020395
fixes for flake8
Christian-B Jan 4, 2022
aac9f63
placements in global data
Christian-B Jan 4, 2022
357fb92
placements from global
Christian-B Jan 5, 2022
fb0f85e
no need for placements.placements
Christian-B Jan 5, 2022
e55fd5a
placements from global
Christian-B Jan 5, 2022
8ef6dc7
fix tests
Christian-B Jan 5, 2022
2080f8d
flake8
Christian-B Jan 5, 2022
5509bda
warned access to runtime_(machine_)graph after finished
Christian-B Jan 6, 2022
e617857
protected Writer so it can only be created during mock and setup
Christian-B Jan 6, 2022
19f5516
PacmanDataWriter.mock()
Christian-B Jan 6, 2022
062fb11
UtilsDataView with classmethods
Christian-B Jan 7, 2022
0ea0501
FecDataView.get_chip_at and FecDataView.get_machine
Christian-B Jan 7, 2022
b3cd1a0
use PacmanDataView classmethods
Christian-B Jan 7, 2022
788aa5b
FecDataView.get_machine()
Christian-B Jan 7, 2022
94699fa
...View.get_graph()
Christian-B Jan 10, 2022
720e50e
PacmanDataView.get_machine_graph()
Christian-B Jan 10, 2022
4b877aa
View.get_runtime_graph()
Christian-B Jan 10, 2022
d6f7d87
flake8
Christian-B Jan 10, 2022
8b6eee4
View.get_runtime_machine_graph()
Christian-B Jan 10, 2022
5af4474
runtime graph support methods now class methods
Christian-B Jan 10, 2022
c31acde
PacmanDataView.get_placement_of_vertex
Christian-B Jan 10, 2022
5330cd8
PacmanDataView.get_placements()
Christian-B Jan 10, 2022
48761aa
View.get_routing_infos
Christian-B Jan 10, 2022
80d9831
flake8
Christian-B Jan 11, 2022
6087f6a
Tags now globals data
Christian-B Jan 12, 2022
2998c2a
remove debug variable
Christian-B Jan 12, 2022
d2a4510
merged in master
Christian-B Jan 12, 2022
c66c0fd
machine_partition_n_keys_map in data
Christian-B Jan 13, 2022
78502e6
DictBasedMachinePartitionNKeysMap from Global data
Christian-B Jan 13, 2022
a6b9034
RIP INJECTION!
Christian-B Jan 13, 2022
52c85aa
flake8
Christian-B Jan 13, 2022
c3268a9
merged in master
Christian-B Jan 18, 2022
bcf8a18
router_tables in View
Christian-B Jan 21, 2022
cf3165c
router_tables from View
Christian-B Jan 24, 2022
dfebf25
lint fix
Christian-B Jan 24, 2022
0ec59bd
oops need just 1 blank line
Christian-B Jan 24, 2022
8808451
rtype
Christian-B Jan 26, 2022
178935f
fix rtype
Christian-B Jan 26, 2022
d84049e
merge
Christian-B Feb 3, 2022
5e57b8f
improve and test get_runtime_best_graph
Christian-B Feb 3, 2022
40efcc1
flake8
Christian-B Feb 3, 2022
18c1822
remove self-assigning-variable
Christian-B Feb 3, 2022
44e0c67
merged in master
Christian-B Feb 9, 2022
9fe6364
precompressed_router_tables in View
Christian-B Feb 9, 2022
2c62354
use Range Compressor
Christian-B Feb 9, 2022
c2573a0
fix tests
Christian-B Feb 10, 2022
56c61d1
router_tables renamed uncompressed_router_tables
Christian-B Feb 10, 2022
52980bc
get_uncompressed_router_tables() now just get_router_tables()
Christian-B Feb 10, 2022
3c98d32
plan_n_timesteps from View
Christian-B Feb 18, 2022
3ef1711
fix tests
Christian-B Feb 21, 2022
3286705
fix another test
Christian-B Feb 21, 2022
06970d9
flake8
Christian-B Feb 21, 2022
b7f1e4e
routing_table_by_partition from View
Christian-B Feb 24, 2022
6ac92b8
flake8
Christian-B Feb 24, 2022
1b0dbf3
fix docs
Christian-B Feb 24, 2022
cfde541
minor doc fixes
Christian-B Feb 24, 2022
a4195e5
graph methods via view
Christian-B Feb 25, 2022
b625513
more graph methods via view
Christian-B Feb 28, 2022
cdf12e7
get_and_reset_vertices_or_edges_added in View
Christian-B Mar 1, 2022
a084e54
test_graph_functions
Christian-B Mar 1, 2022
1e3d681
flake8
Christian-B Mar 1, 2022
2ed6293
_vertices_or_edges_added now info_changed
Christian-B Mar 2, 2022
8884a2b
improved view status handling
Christian-B Mar 4, 2022
a46e718
single external hard and soft reset entry point
Christian-B Mar 4, 2022
883c143
revork how resets are handled
Christian-B Mar 8, 2022
0f2ad62
has_run from the View
Christian-B Mar 8, 2022
5c314b5
view.check_user_can_act
Christian-B Mar 9, 2022
6db9f02
now SimulatorShutdownException
Christian-B Mar 14, 2022
d944775
flake8
Christian-B Mar 14, 2022
5fd0b10
doc fix
Christian-B Mar 14, 2022
5468b9b
doc changes
Christian-B Mar 15, 2022
c33d656
CommandSender check in FecDataView
Christian-B Mar 16, 2022
e28b5de
docs
Christian-B Mar 16, 2022
9242221
merged in master
Christian-B Mar 16, 2022
650e0f1
doc fixes and minor code changes
Christian-B Mar 16, 2022
8ad4c40
flake8
Christian-B Mar 16, 2022
f3ef884
docfix
Christian-B Mar 16, 2022
ba8bb55
merge
Christian-B Mar 31, 2022
bec1bcc
merged in master
Christian-B Apr 14, 2022
c59e433
merged in master
Christian-B Apr 14, 2022
dde965c
merge
Christian-B Apr 14, 2022
cccc3d7
merged in master
Christian-B Apr 14, 2022
1e0434e
merged in master
Christian-B Apr 19, 2022
82b5183
Use Placements.placements and not __iter__
Christian-B Apr 25, 2022
2e899f4
fix tests
Christian-B Apr 25, 2022
63df493
flake8
Christian-B Apr 25, 2022
e6977bc
remove iter method
Christian-B Apr 25, 2022
3187c89
merge
Christian-B May 16, 2022
027b7e4
merge fix
Christian-B May 16, 2022
cf80532
merge fixes
Christian-B May 16, 2022
787aacb
pylint fixes
Christian-B May 23, 2022
3d71f8d
merge
Christian-B Jun 6, 2022
6e7bd65
merged in master
Christian-B Jun 6, 2022
52d4e9e
mega merge
Christian-B Jul 7, 2022
1256be1
use View
Christian-B Jul 11, 2022
d1e2905
use View
Christian-B Jul 11, 2022
a69b1c4
added get_outgoing_edge_partitions_starting_at_vertex
Christian-B Jul 12, 2022
7d74a8a
merge
Christian-B Jul 12, 2022
e525cb4
fix merge in test
Christian-B Jul 12, 2022
492dac7
mock empty graphs if needed
Christian-B Jul 12, 2022
3b718c1
fix tests
Christian-B Jul 12, 2022
af0db02
fixed tests
Christian-B Jul 13, 2022
1970bda
flake8
Christian-B Jul 13, 2022
9e8c1c3
pylint
Christian-B Jul 13, 2022
15d0d5b
register_dege does not need partition
Christian-B Jul 13, 2022
b651ead
pylit fixes
Christian-B Jul 13, 2022
0d12cf6
renamed targets_by_chip as same named used is a param
Christian-B Jul 13, 2022
bd257b3
pylint
Christian-B Jul 13, 2022
6cb9387
partition_n_key_map removal
Christian-B Jul 14, 2022
1b72aa7
reset graph on hard reset
Christian-B Jul 18, 2022
9089de6
doc fixes
Christian-B Jul 18, 2022
40a2a7c
remove has_application_vertices
Christian-B Jul 18, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
flake8
  • Loading branch information
Christian-B committed Mar 16, 2022
commit 8ad4c40d4e9ab324fb076bca9f2fec86fe05d027
1 change: 0 additions & 1 deletion pacman/data/pacman_data_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ def get_n_machine_vertices(cls):
raise cls._exception("machine_graph")
return cls.__pacman_data._machine_graph.n_vertices


@classmethod
def iterate_machine_partitions(cls):
""" The partitions in the user machine graph.
Expand Down