From 8a5146fb5cc17d101e3b6c86654f5aca81e60335 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 12 Jan 2021 15:51:07 +0000 Subject: 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 Change-Id: I315549e55d4d064cbe94dfa29d070dc281b447de Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5088 Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins --- src/core/cpu/kernels/activation/NEON/fp16.cpp | 1 - src/core/cpu/kernels/activation/NEON/fp32.cpp | 1 - src/core/cpu/kernels/activation/NEON/qasymm8.cpp | 1 - src/core/cpu/kernels/activation/NEON/qasymm8_signed.cpp | 1 - src/core/cpu/kernels/activation/NEON/qsymm16.cpp | 1 - src/core/cpu/kernels/activation/SVE/fp16.cpp | 1 - src/core/cpu/kernels/activation/SVE/fp32.cpp | 1 - src/core/cpu/kernels/activation/SVE/qasymm8.cpp | 1 - src/core/cpu/kernels/activation/SVE/qasymm8_signed.cpp | 1 - src/core/cpu/kernels/activation/SVE/qsymm16.cpp | 1 - src/core/cpu/kernels/floor/NEON/fp16.cpp | 2 +- src/core/cpu/kernels/floor/NEON/fp32.cpp | 2 +- 12 files changed, 2 insertions(+), 12 deletions(-) (limited to 'src/core/cpu/kernels') diff --git a/src/core/cpu/kernels/activation/NEON/fp16.cpp b/src/core/cpu/kernels/activation/NEON/fp16.cpp index 7fe4ab3f63..0ddd43ea0e 100644 --- a/src/core/cpu/kernels/activation/NEON/fp16.cpp +++ b/src/core/cpu/kernels/activation/NEON/fp16.cpp @@ -26,7 +26,6 @@ #include "arm_compute/core/Helpers.h" #include "arm_compute/core/Validate.h" #include "src/core/NEON/wrapper/wrapper.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/activation/NEON/fp32.cpp b/src/core/cpu/kernels/activation/NEON/fp32.cpp index f1f2753813..244ca5739f 100644 --- a/src/core/cpu/kernels/activation/NEON/fp32.cpp +++ b/src/core/cpu/kernels/activation/NEON/fp32.cpp @@ -26,7 +26,6 @@ #include "arm_compute/core/Window.h" #include "src/core/NEON/NEMath.h" #include "src/core/NEON/wrapper/wrapper.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/activation/NEON/qasymm8.cpp b/src/core/cpu/kernels/activation/NEON/qasymm8.cpp index 7506a8294f..a1217435b6 100644 --- a/src/core/cpu/kernels/activation/NEON/qasymm8.cpp +++ b/src/core/cpu/kernels/activation/NEON/qasymm8.cpp @@ -27,7 +27,6 @@ #include "src/core/NEON/NEAsymm.h" #include "src/core/NEON/NEMath.h" #include "src/core/NEON/wrapper/wrapper.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/activation/NEON/qasymm8_signed.cpp b/src/core/cpu/kernels/activation/NEON/qasymm8_signed.cpp index 8f75abea8e..8b40bf8e72 100644 --- a/src/core/cpu/kernels/activation/NEON/qasymm8_signed.cpp +++ b/src/core/cpu/kernels/activation/NEON/qasymm8_signed.cpp @@ -26,7 +26,6 @@ #include "src/core/NEON/NEAsymm.h" #include "src/core/NEON/NEMath.h" #include "src/core/NEON/wrapper/wrapper.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/activation/NEON/qsymm16.cpp b/src/core/cpu/kernels/activation/NEON/qsymm16.cpp index 9eee360427..54b41820f2 100644 --- a/src/core/cpu/kernels/activation/NEON/qsymm16.cpp +++ b/src/core/cpu/kernels/activation/NEON/qsymm16.cpp @@ -28,7 +28,6 @@ #include "src/core/NEON/NEMath.h" #include "src/core/NEON/NESymm.h" #include "src/core/NEON/wrapper/wrapper.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/activation/SVE/fp16.cpp b/src/core/cpu/kernels/activation/SVE/fp16.cpp index 8208813cd3..bf31fd7d93 100644 --- a/src/core/cpu/kernels/activation/SVE/fp16.cpp +++ b/src/core/cpu/kernels/activation/SVE/fp16.cpp @@ -24,7 +24,6 @@ #include "arm_compute/core/Helpers.h" #include "arm_compute/core/ITensorPack.h" #include "arm_compute/core/Window.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/activation/SVE/fp32.cpp b/src/core/cpu/kernels/activation/SVE/fp32.cpp index 55bdc9999e..75f9f8a4c3 100644 --- a/src/core/cpu/kernels/activation/SVE/fp32.cpp +++ b/src/core/cpu/kernels/activation/SVE/fp32.cpp @@ -25,7 +25,6 @@ #include "arm_compute/core/ITensorPack.h" #include "arm_compute/core/Window.h" #include "src/core/NEON/SVEMath.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/activation/SVE/qasymm8.cpp b/src/core/cpu/kernels/activation/SVE/qasymm8.cpp index 3d9476ac56..228b4ae530 100644 --- a/src/core/cpu/kernels/activation/SVE/qasymm8.cpp +++ b/src/core/cpu/kernels/activation/SVE/qasymm8.cpp @@ -24,7 +24,6 @@ #include "arm_compute/core/Helpers.h" #include "arm_compute/core/Window.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/activation/SVE/qasymm8_signed.cpp b/src/core/cpu/kernels/activation/SVE/qasymm8_signed.cpp index 0b3d798942..989f825eb9 100644 --- a/src/core/cpu/kernels/activation/SVE/qasymm8_signed.cpp +++ b/src/core/cpu/kernels/activation/SVE/qasymm8_signed.cpp @@ -24,7 +24,6 @@ #include "arm_compute/core/Helpers.h" #include "arm_compute/core/Window.h" #include "src/core/NEON/wrapper/wrapper.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/activation/SVE/qsymm16.cpp b/src/core/cpu/kernels/activation/SVE/qsymm16.cpp index dbaf267bf9..66974875da 100644 --- a/src/core/cpu/kernels/activation/SVE/qsymm16.cpp +++ b/src/core/cpu/kernels/activation/SVE/qsymm16.cpp @@ -25,7 +25,6 @@ #include "arm_compute/core/ITensorPack.h" #include "arm_compute/core/Window.h" #include "arm_compute/core/experimental/Types.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/floor/NEON/fp16.cpp b/src/core/cpu/kernels/floor/NEON/fp16.cpp index 0d31eb77f8..f362676a36 100644 --- a/src/core/cpu/kernels/floor/NEON/fp16.cpp +++ b/src/core/cpu/kernels/floor/NEON/fp16.cpp @@ -23,8 +23,8 @@ */ #if defined(__ARM_FEATURE_FP16_VECTOR_ARITHMETIC) && defined(ENABLE_FP16_KERNELS) +#include "src/common/utils/Validate.h" #include "src/core/NEON/NEMath.h" -#include "src/core/common/Validate.h" #include #include diff --git a/src/core/cpu/kernels/floor/NEON/fp32.cpp b/src/core/cpu/kernels/floor/NEON/fp32.cpp index dd63f9f9d7..f5efb2e849 100644 --- a/src/core/cpu/kernels/floor/NEON/fp32.cpp +++ b/src/core/cpu/kernels/floor/NEON/fp32.cpp @@ -21,8 +21,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ +#include "src/common/utils/Validate.h" #include "src/core/NEON/NEMath.h" -#include "src/core/common/Validate.h" #include #include -- cgit v1.2.1