From 232c45253a84c16fc70eae6406cac5f4048efaca Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Thu, 3 Mar 2022 10:09:01 +0000 Subject: Merge kernel prototype patch Resolves: COMPMID-5151 Signed-off-by: Giorgio Arena Change-Id: Ic4024d5cd4819fe917a1d49621f1866ae2e90a37 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7260 Tested-by: Arm Jenkins Reviewed-by: SiCong Li Comments-Addressed: Arm Jenkins --- SConscript | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'SConscript') diff --git a/SConscript b/SConscript index 62ec9f8854..13ef37a7e2 100644 --- a/SConscript +++ b/SConscript @@ -172,7 +172,7 @@ def resolve_includes(target, source, env): for line in tmp_file: found = pattern.search(line) if found: - include_file = found.group(1) + include_file = found.group(1).split('/')[-1] data = files_dict[include_file].file_contents updated_file.extend(data) else: @@ -490,6 +490,16 @@ with (open(Dir('#').path + '/filelist.json')) as fp: # Common backend files lib_files = filelist['common'] +# Experimental files +# Dynamic fusion +if env['experimental_dynamic_fusion']: + if env['embed_kernels']: + print("Dynamic fusion with embed_kernels=1 not supported. Skipping.") + else: + lib_files += filelist['experimental']['dynamic_fusion'] + arm_compute_env.Append(CPPDEFINES = ['ENABLE_EXPERIMENTAL_DYNAMIC_FUSION']) + + # Logging files if env["logging"]: lib_files += filelist['logging'] -- cgit v1.2.1