[Piglit] [PATCH] Logical operators 'and' and 'or' are supported until OpenCL version 1.2.
Tom Stellard
tom at stellard.net
Mon Jan 13 08:41:39 PST 2014
On Mon, Jan 06, 2014 at 09:54:48AM +0800, Yi Sun wrote:
> 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.
>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
> 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
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list