[Piglit] [PATCH 1/2] CL: Add atomic_add/inc uint threaded tests

Tom Stellard tom at stellard.net
Thu Sep 5 08:21:24 PDT 2013


On Wed, Sep 04, 2013 at 05:23:25PM -0500, Aaron Watry wrote:
> ---

For the series:

Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

>  tests/cl/program/execute/builtin/atomic/atomic_add-local.cl | 9 +++++++++
>  tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl | 9 +++++++++
>  2 files changed, 18 insertions(+)
> 
> diff --git a/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl b/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl
> index 3a30005..c155fbb 100644
> --- a/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl
> +++ b/tests/cl/program/execute/builtin/atomic/atomic_add-local.cl
> @@ -34,6 +34,15 @@ local_size:  8 0 0
>  arg_out: 0 buffer int[1] 28
>  arg_in:  1 buffer int[1] NULL
>  
> +[test]
> +name: threads
> +kernel_name: threads_uint
> +dimensions: 1
> +global_size: 8 0 0
> +local_size:  8 0 0
> +arg_out: 0 buffer uint[1] 28
> +arg_in:  1 buffer uint[1] NULL
> +
>  !*/
>  
>  #define SIMPLE_TEST(TYPE) \
> diff --git a/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl b/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl
> index ba7e7a0..d51b4b7 100644
> --- a/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl
> +++ b/tests/cl/program/execute/builtin/atomic/atomic_inc-local.cl
> @@ -32,6 +32,15 @@ local_size:  8 0 0
>  arg_out: 0 buffer int[1] 8
>  arg_in:  1 buffer int[1] NULL
>  
> +[test]
> +name: threads
> +kernel_name: threads_uint
> +dimensions: 1
> +global_size: 8 0 0
> +local_size:  8 0 0
> +arg_out: 0 buffer uint[1] 8
> +arg_in:  1 buffer uint[1] NULL
> +
>  !*/
>  
>  #define SIMPLE_TEST(TYPE) \
> -- 
> 1.8.1.2
> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit


More information about the Piglit mailing list