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

Cfg checker #274

Merged
merged 13 commits into from
Jul 2, 2024
Merged

Cfg checker #274

merged 13 commits into from
Jul 2, 2024

Conversation

Christian-B
Copy link
Member

@Christian-B Christian-B commented Jun 20, 2024

This PR and related do a stricter checking of cfg values.

The Version Factory check for conflicting options and errors out.

More methods that use cfg values checked

Check that all declared cfg values are used.
Note the calling code many never actually be used but it exists

A few cfg values have been moved to where first used.
[Machine]
auto_detect_bmp
bmp_names
json_path
machine_spec_file

[Mode]
violate_1ms_wall_clock_restriction

[Reports]
default_report_file_path


Duplicate cfg values removed from Mapping GFE


Many unused cfg options removed.
All [Logging]

[Buffers]
buffer_size_before_receive
chip_power_monitor_buffer
enable_buffered_recording = False
minimum_buffer_sdram
receive_buffer_host
receive_buffer_port
spike_buffer_size
store_buffer_data_in_file
time_between_requests
variable_buffer_size

[Database]
create_routing_info_to_atom_id_mapping = True

[Machine]
max_machine_core_reduction
MaxSDRAMSize
number_of_boards

[Mapping]
router_table_compression_with_bit_field_use_time_cutoff
router_table_compression_with_bit_field_iteration_time
router_table_compression_with_bit_field_pre_alloced_sdram
router_table_compression_with_bit_field_acceptance_threshold
router_table_compression_with_bit_field_retry_count
extra_xmls_paths

[Reports]
generate_bit_field_summary_report
generate_bit_field_report
max_application_binaries_kept
write_bit_field_iobuf
write_compressed_router_summary_report
write_json_machine_graph
write_json_partition_n_keys_map
write_machine_graph_placer_report
write_router_compressor_with_bitfield_iobuf
write_router_compression_with_bitfield_report

[Simulation]
app_machine_quantity = 25
time_between_cores = None
clock_cycles_between_cores = None
fraction_of_time_spike_sending = 0.8
clock_cycles_sending = None
fraction_of_time_before_sending = None
clock_cycles_before_sending = 600
fraction_of_time_for_offset = None
clock_cycles_for_offset = 1000

@rowleya rowleya merged commit ab4331b into master Jul 2, 2024
11 checks passed
@Christian-B Christian-B deleted the cfg_checker branch August 12, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants