[Piglit] [PATCH] Logical operators 'and' and 'or' are supported until OpenCL version 1.2.

Yi Sun yi.sun at intel.com
Sun Jan 5 17:54:48 PST 2014


According to spec 1.1 Chapter 6.3 bullet g:
The logical operators and (&&), or (||) operate on all scalar and vector built-in types except
the built-in scalar and vector float types.

Signed-off-by: Yi Sun <yi.sun at intel.com>
Signed-off-by: Yangwei Shui <yangweix.shui at intel.com>

diff --git a/tests/cl/program/execute/scalar-logical-float.cl b/tests/cl/program/execute/scalar-logical-float.cl
index 43265d5..dc78592 100644
--- a/tests/cl/program/execute/scalar-logical-float.cl
+++ b/tests/cl/program/execute/scalar-logical-float.cl
@@ -5,7 +5,7 @@
 
 [config]
 name: Float logical operators
-clc_version_min: 10
+clc_version_min: 12
 
 dimensions: 1
 global_size: 1 0 0
-- 
1.7.6.4



More information about the Piglit mailing list