From 1bd531dec0b4eb745fb8856d14c1aba2b8a73026 Mon Sep 17 00:00:00 2001 From: Tim Hall Date: Sun, 1 Nov 2020 20:59:36 +0000 Subject: 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 Change-Id: I27c41577e37a3859edb9524cd99784be10ef0a0d --- ethosu/vela/test/testutil.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ethosu/vela/test/testutil.py') 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, ) -- cgit v1.2.1