diff options
author | Nathan John Sircombe <nathan.sircombe@arm.com> | 2023-04-26 15:02:43 +0100 |
---|---|---|
committer | nathan.sircombe <nathan.sircombe@arm.com> | 2023-05-02 14:24:17 +0000 |
commit | d7113e4af5b5497d3a3a62dc9cf6b147e2a024cd (patch) | |
tree | 699742317f9befb3adf8be4222e13fa6cdd46f6b /SConscript | |
parent | 7a0f1bdaf74cde263b2919c7d1652b0cb87a94f3 (diff) | |
download | ComputeLibrary-d7113e4af5b5497d3a3a62dc9cf6b147e2a024cd.tar.gz |
Removes `experimental` from `experimental_fixed_format_kernels` flag
Renames `experimental_fixed_format_kernels` build option to
`fixed_format_kernels`.
Adds documentation for the flag covering basics:
- What fixed-format kernels are
- Why they're needed
- Which backend they're for (i.e. CPU)
- Some pointers on how to use them.
Resolves: ONCPUML-1253
Change-Id: I428c98614c309c9ffc32d0f32daa24740f7cb967
Signed-off-by: Nathan John Sircombe <nathan.sircombe@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9523
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: SiCong Li <sicong.li@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'SConscript')
-rw-r--r-- | SConscript | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/SConscript b/SConscript index e6ef73cc34..7ea59d2ef3 100644 --- a/SConscript +++ b/SConscript @@ -511,16 +511,15 @@ with (open(Dir('#').path + '/filelist.json')) as fp: # Common backend files lib_files = filelist['common'] +# Fixed format GEMM kernels. +if env['fixed_format_kernels']: + arm_compute_env.Append(CPPDEFINES = ['ARM_COMPUTE_ENABLE_FIXED_FORMAT_KERNELS']) + # Experimental files # Dynamic fusion if env['experimental_dynamic_fusion']: lib_files += filelist['experimental']['dynamic_fusion'] -# Fixed format GEMM kernels. -if env['experimental_fixed_format_kernels']: - arm_compute_env.Append(CPPDEFINES = ['ARM_COMPUTE_ENABLE_FIXED_FORMAT_KERNELS']) - - # Logging files if env["logging"]: lib_files += filelist['logging'] @@ -596,8 +595,9 @@ if env['neon']: else: attrs = get_attrs_list(env, env['data_type_support'], env['data_layout_support']) - if env['experimental_fixed_format_kernels']: - attrs.append("experimental_fixed_format_kernels") + + if env['fixed_format_kernels']: + attrs.append("fixed_format_kernels") # Setup data-type and data-layout files to include cpu_operators = custom_operators if use_custom_ops else filelist['cpu']['operators'].keys() |