diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-01-06 19:42:21 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-01-08 15:38:18 +0000 |
commit | 70eb53b09adf57cc6ff7435c795e65a4f4697f67 (patch) | |
tree | def5f3e7fbc0df9dcfd6bb15336c97057a09c457 /SConscript | |
parent | c216545a9ede448213e76bd50cba4ebd481b942c (diff) | |
download | ComputeLibrary-70eb53b09adf57cc6ff7435c795e65a4f4697f67.tar.gz |
Make CpuFloorKernel kernel stateless
- Rename NEFloorKernel to CpuFloorKernel to accomodate new ISA
implementations
- Remove state and instead pass tensors to operate during run
- Add member function to generate an execution window given an input and
output tensor description
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I9240b8ec534589c0f15c354f771f1ac5d7010c3b
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4773
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com>
Diffstat (limited to 'SConscript')
-rw-r--r-- | SConscript | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/SConscript b/SConscript index 724208c306..23889657bd 100644 --- a/SConscript +++ b/SConscript @@ -263,6 +263,23 @@ if env['neon']: runtime_files += Glob('src/runtime/NEON/functions/*.cpp') runtime_files += Glob('src/runtime/NEON/functions/assembly/*.cpp') + core_files += Glob('src/core/cpu/*.cpp') + core_files += Glob('src/core/cpu/kernels/*.cpp') + core_files += Glob('src/core/cpu/kernels/*/*.cpp') + if any(i in env['data_type_support'] for i in ['all', 'fp16']): + core_files += Glob('src/core/cpu/kernels/*/impl/*/fp16.cpp') + if any(i in env['data_type_support'] for i in ['all', 'fp32']): + core_files += Glob('src/core/cpu/kernels/*/impl/*/fp32.cpp') + if any(i in env['data_type_support'] for i in ['all', 'qasymm8']): + core_files += Glob('src/core/cpu/kernels/*/impl/*/qasymm8.cpp') + if any(i in env['data_type_support'] for i in ['all', 'qasymm8_signed']): + core_files += Glob('src/core/cpu/kernels/*/impl/*/qasymm8_signed.cpp') + if any(i in env['data_type_support'] for i in ['all', 'qsymm16']): + core_files += Glob('src/core/cpu/kernels/*/impl/*/qsymm16.cpp') + + runtime_files += Glob('src/runtime/cpu/*.cpp') + runtime_files += Glob('src/runtime/cpu/operators/*.cpp') + if env['gles_compute']: if env['os'] != 'android': arm_compute_env.Append(CPPPATH = ["#opengles-3.1/include", "#opengles-3.1/mali_include"]) |