aboutsummaryrefslogtreecommitdiff
path: root/verif/conformance/model_files.py
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-10-09 16:31:13 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2023-10-16 15:08:36 +0100
commit65ba809d7a8b4ddd0a51f6c76ad0afc5f417de07 (patch)
tree249926aeeccfb0dac60f27967e5d01001adc5e33 /verif/conformance/model_files.py
parent9c2fe6e129e4d176c3e14f172b92efe985af7c78 (diff)
downloadreference_model-65ba809d7a8b4ddd0a51f6c76ad0afc5f417de07.tar.gz
Data generator library python interface added
Added support for using generate library in tosa_verif_build_tests and tosa_verif_run_tests tosa tool scripts. Reduced scope of compliance test creation and verification to the supported type of FP32. Fix missing virtual destructor warning in generate_dot_product.h and add config file for generate library. Simple pytests included to check python interface. Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I6cdad9b00660d6ddc8bd07fdea813937fb48626a
Diffstat (limited to 'verif/conformance/model_files.py')
-rw-r--r--verif/conformance/model_files.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/verif/conformance/model_files.py b/verif/conformance/model_files.py
index a9e1db3..5447f08 100644
--- a/verif/conformance/model_files.py
+++ b/verif/conformance/model_files.py
@@ -19,6 +19,7 @@ class TosaFileType(IntEnum):
SCHEMA = 1
FLATC = 2
VERIFY_LIBRARY = 3
+ GENERATE_LIBRARY = 4
TOSA_FILE_TYPE_TO_DETAILS = {
@@ -42,6 +43,11 @@ TOSA_FILE_TYPE_TO_DETAILS = {
"location": DEFAULT_REF_MODEL_BUILD_EXE_PATH,
"build": True,
},
+ TosaFileType.GENERATE_LIBRARY: {
+ "name": "libtosa_reference_generate_lib.so",
+ "location": DEFAULT_REF_MODEL_BUILD_EXE_PATH,
+ "build": True,
+ },
}