diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-01-12 15:51:07 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-02-25 08:05:31 +0000 |
commit | 8a5146fb5cc17d101e3b6c86654f5aca81e60335 (patch) | |
tree | f5ab3e60d33ebad7c771828810bcd6d4a914508f /SConscript | |
parent | e5f2e7472725da11c14f3d6023a9c2d7b14e2ebd (diff) | |
download | ComputeLibrary-8a5146fb5cc17d101e3b6c86654f5aca81e60335.tar.gz |
Introduce Context opaque object of the new interface
An AclContext is introduced as part of the new interface.
This object is responsible for any constructural services that the
operators and other objects might need.
Main options that can be passed to a context object are:
- a target: for which all the subsequent object should bind with
- capabilities: which are the isa/target features to enable
- a mode: for which different strategies can be selected in the backend
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Change-Id: I315549e55d4d064cbe94dfa29d070dc281b447de
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5088
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'SConscript')
-rw-r--r-- | SConscript | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/SConscript b/SConscript index c89abef81c..9894e30481 100644 --- a/SConscript +++ b/SConscript @@ -165,7 +165,6 @@ arm_compute_env.Append(CPPDEFINES = [('ARM_COMPUTE_VERSION_MAJOR', LIBRARY_VERSI ('ARM_COMPUTE_VERSION_MINOR', LIBRARY_VERSION_MINOR), ('ARM_COMPUTE_VERSION_PATCH', LIBRARY_VERSION_PATCH)]) - # Don't allow undefined references in the libraries: undefined_flag = '-Wl,-undefined,error' if 'macos' in arm_compute_env["os"] else '-Wl,--no-undefined' arm_compute_env.Append(LINKFLAGS=[undefined_flag]) @@ -189,6 +188,10 @@ runtime_files = Glob('src/runtime/*.cpp') runtime_files += Glob('src/runtime/CPP/ICPPSimpleFunction.cpp') runtime_files += Glob('src/runtime/CPP/functions/*.cpp') +runtime_files += Glob('src/c/*.cpp') +runtime_files += Glob('src/common/*.cpp') +runtime_files += Glob('src/cpu/*.cpp') + # CLHarrisCorners uses the Scheduler to run CPP kernels runtime_files += Glob('src/runtime/CPP/SingleThreadScheduler.cpp') @@ -220,6 +223,9 @@ if env['opencl']: runtime_files += Glob('src/runtime/CL/mlgo/*.cpp') runtime_files += Glob('src/runtime/CL/gemm_auto_heuristics/*.cpp') + runtime_files += Glob('src/gpu/cl/*.cpp') + runtime_files += Glob('src/c/cl/*.cpp') + graph_files += Glob('src/graph/backends/CL/*.cpp') |