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 <louis.verhaard@arm.com>
diff --git a/ethosu/vela/vela.py b/ethosu/vela/vela.py
index 6fc5c47..7b76685 100644
--- a/ethosu/vela/vela.py
+++ b/ethosu/vela/vela.py
@@ -41,6 +41,7 @@
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 @@
"".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,