[Piglit] [PATCH] cl: Fix bug in the local store kernel
Aaron Watry
awatry at gmail.com
Mon Aug 19 14:52:30 PDT 2013
Reviewed-by: Aaron Watry <awatry at gmail.com>
On Fri, Aug 16, 2013 at 11:22 AM, Tom Stellard <tom at stellard.net> wrote:
> From: Tom Stellard <thomas.stellard at amd.com>
>
> ---
> generated_tests/cl/store/store-kernels-local.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/generated_tests/cl/store/store-kernels-local.inc b/generated_tests/cl/store/store-kernels-local.inc
> index 7d70d13..b3265f4 100644
> --- a/generated_tests/cl/store/store-kernels-local.inc
> +++ b/generated_tests/cl/store/store-kernels-local.inc
> @@ -8,7 +8,7 @@ kernel void store_local(global type_t *out, global type_t *in) {
> local type_t local_data[8];
> size_t id = get_local_id(0);
> size_t store_index = (id + 1) % 8;
> - local_data[store_index] = store_index;
> + local_data[store_index] = in[store_index];
> barrier(CLK_LOCAL_MEM_FENCE);
> out[id] = local_data[id];
> }
> --
> 1.7.11.4
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list