diff options
author | Tim Hall <tim.hall@arm.com> | 2020-11-01 20:59:36 +0000 |
---|---|---|
committer | Tim Hall <tim.hall@arm.com> | 2020-11-20 12:55:47 +0000 |
commit | 1bd531dec0b4eb745fb8856d14c1aba2b8a73026 (patch) | |
tree | a0265a0accd2395277fe88be27164d09541abc7f /ethosu/vela/test/testutil.py | |
parent | c8a73868d40cf63380f634baeb51aa7aa993fc0c (diff) | |
download | ethos-u-vela-1bd531dec0b4eb745fb8856d14c1aba2b8a73026.tar.gz |
MLBEDSW-3249: Vela config file examples
- Added sample vela.ini config file
- Changed vela config format, split into system config and memory mode
- Removed unused CPU cycle performance estimation
- Added new CLI options for --memory-mode and --verbose-config
- Changed CLI option --config to take multiple files
- Removed CLI option --global-memory-clock-scales
- Changed error helper functions to raise a VelaError exception
- Refactored to create a new is_spilling_enabled function
Signed-off-by: Tim Hall <tim.hall@arm.com>
Change-Id: I27c41577e37a3859edb9524cd99784be10ef0a0d
Diffstat (limited to 'ethosu/vela/test/testutil.py')
-rw-r--r-- | ethosu/vela/test/testutil.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ethosu/vela/test/testutil.py b/ethosu/vela/test/testutil.py index 82588278..7cdd4f5e 100644 --- a/ethosu/vela/test/testutil.py +++ b/ethosu/vela/test/testutil.py @@ -28,14 +28,15 @@ from ethosu.vela.tensor import Tensor def create_arch(): return architecture_features.ArchitectureFeatures( - vela_config=None, - system_config=None, + vela_config_files=None, accelerator_config=architecture_features.Accelerator.Ethos_U55_128.value, + system_config=architecture_features.ArchitectureFeatures.DEFAULT_CONFIG, + memory_mode=architecture_features.ArchitectureFeatures.DEFAULT_CONFIG, override_block_config=None, block_config_limit=None, - global_memory_clock_scale=1.0, max_blockdep=0, weight_estimation_scaling=1.0, + verbose_config=False, ) |