From 76c8564936a1e0d1be022a2f56dc0a52d638f5d7 Mon Sep 17 00:00:00 2001 From: Vidhya Sudhan Loganathan Date: Fri, 25 May 2018 13:53:02 +0100 Subject: COMPMID-1083 : Compute library should be made usable on non-ARM platforms Added * Compile time switches for kernels using FP16 extensions * Validation for support of atomics extension Change-Id: Ia88e601db054ff35f1508988b5e322bd27511ac5 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/133216 Reviewed-by: Pablo Tello Reviewed-by: Anthony Barbier Tested-by: Jenkins --- arm_compute/core/Error.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'arm_compute/core/Error.h') diff --git a/arm_compute/core/Error.h b/arm_compute/core/Error.h index 3635e93244..e254956ad7 100644 --- a/arm_compute/core/Error.h +++ b/arm_compute/core/Error.h @@ -43,8 +43,9 @@ inline void ignore_unused(T &&...) /** Available error codes */ enum class ErrorCode { - OK, /**< No error */ - RUNTIME_ERROR /**< Generic runtime error */ + OK, /**< No error */ + RUNTIME_ERROR, /**< Generic runtime error */ + UNSUPPORTED_EXTENSION_USE /**< Unsupported extension used*/ }; /** Status class */ -- cgit v1.2.1