Introduce an enum class declaration for logical operations (#3624)
authorShubham Gupta/SNAP /SRI-Bangalore/Engineer/삼성전자 <shub98.gupta@samsung.com>
Thu, 22 Nov 2018 03:07:51 +0000 (08:37 +0530)
committer오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 22 Nov 2018 03:07:51 +0000 (12:07 +0900)
To have unified cl kernels for logical operations,
This commit introduces a enum declaration for logical operations.

Signed-off-by: shubham <shub98.gupta@samsung.com>
libs/ARMComputeEx/arm_compute/core/TypesEx.h

index 073705e..c666b1f 100644 (file)
@@ -33,6 +33,14 @@ enum class ReduceOperation
   SUM,  /**< Sum */
 };
 
+/** Available logical operations */
+enum class LogicalOperation
+{
+  AND, /**< AND */
+  OR,  /**< OR */
+  NOT, /**< NOT */
+};
+
 /** Activation Layer Information class */
 class ActivationLayerInfoEx
 {