Add CKW binary and ternary statements

Resolves: COMPMID-6388
Signed-off-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Change-Id: Ia0cd1486f368af54053066f489cac83b9de01789
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10182
Reviewed-by: Gunes Bayir <gunes.bayir@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
diff --git a/compute_kernel_writer/validation/tests/CLKernelWriterUnaryExpressionTest.h b/compute_kernel_writer/validation/tests/CLKernelWriterUnaryExpressionTest.h
index 65440a0..395a2fe 100644
--- a/compute_kernel_writer/validation/tests/CLKernelWriterUnaryExpressionTest.h
+++ b/compute_kernel_writer/validation/tests/CLKernelWriterUnaryExpressionTest.h
@@ -43,6 +43,8 @@
 public:
     CLKernelWriterUnaryExpressionTest()
     {
+        // dst_height, dst_width, src_height, src_width, data_type, op, expected_code
+
         _tests.push_back({ 1, 1, 1, 1, DataType::Uint32, UnaryOp::BitwiseNot, "G0__dst = ~G0__src;\n" }); // Scalar.
 
         _tests.push_back({ 1, 3, 1, 3, DataType::Int16, UnaryOp::LogicalNot, "G0__dst = !G0__src;\n" }); // Whole vector.
@@ -70,7 +72,7 @@
 
             writer.start_capture_code();
 
-            writer.op_unary(dst, src, test.op);
+            writer.op_unary(dst, test.op, src);
 
             VALIDATE_TEST(writer.check_added_code(test.expected_code), all_tests_passed, test_no++);
         }