From 5207830e53d454793cebfffa96d366ded79d71da Mon Sep 17 00:00:00 2001 From: Louis Verhaard Date: Wed, 18 Nov 2020 13:35:06 +0100 Subject: MLBEDSW-3425: Added external API for driver actions Added external API to add driver actions to a command stream. Change-Id: Ie4779c1c745defc5769fa694358470cd6aea191c Signed-off-by: Louis Verhaard --- ethosu/vela/vela.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ethosu/vela/vela.py') diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py index 6fc5c47f..7b766855 100644 --- a/ethosu/vela/vela.py +++ b/ethosu/vela/vela.py @@ -41,6 +41,7 @@ from .tensor import MemArea from .tensor import Tensor from .tflite_mapping import builtin_operator_map from .tflite_mapping import builtin_type_name +from ethosu.vela.architecture_features import ArchitectureFeatures def process(input_name, enable_debug_db, arch, model_reader_options, compiler_options, scheduler_options): @@ -372,6 +373,12 @@ def main(args=None): "".format(args.cpu_tensor_alignment) ) + if args.system_config == ArchitectureFeatures.DEFAULT_CONFIG: + print(f"Warning: Using {ArchitectureFeatures.DEFAULT_CONFIG} values for system configuration") + + if args.memory_mode == ArchitectureFeatures.DEFAULT_CONFIG: + print(f"Warning: Using {ArchitectureFeatures.DEFAULT_CONFIG} values for memory mode") + arch = architecture_features.ArchitectureFeatures( vela_config_files=args.config, system_config=args.system_config, -- cgit v1.2.1