[Piglit] [PATCH] cl: Fix types to be unsigned
Matt Arsenault
arsenm2 at gmail.com
Mon Aug 13 20:42:04 UTC 2018
ping
> On Oct 27, 2017, at 13:03, Matt Arsenault <arsenm2 at gmail.com> wrote:
>
> Doesn't really matter.
> ---
> tests/cl/program/execute/store-hi16.cl | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/tests/cl/program/execute/store-hi16.cl b/tests/cl/program/execute/store-hi16.cl
> index b734b3766..4273d3369 100644
> --- a/tests/cl/program/execute/store-hi16.cl
> +++ b/tests/cl/program/execute/store-hi16.cl
> @@ -92,7 +92,7 @@ kernel void store_hi16_global(volatile global ushort* out, volatile global uint*
>
> kernel void store_hi16_local(volatile global ushort* out, volatile global uint* in)
> {
> - volatile local short lds[64];
> + volatile local ushort lds[64];
> int lid = get_local_id(0);
> int gid = get_global_id(0);
>
> @@ -104,7 +104,7 @@ kernel void store_hi16_local(volatile global ushort* out, volatile global uint*
> kernel void store_hi16_private(volatile global ushort* out, volatile global uint* in)
> {
> int gid = get_global_id(0);
> - volatile private short stack = in[gid] >> 16;
> + volatile private ushort stack = in[gid] >> 16;
> out[gid] = stack;
> }
>
> @@ -117,7 +117,7 @@ kernel void truncstorei8_hi16_global(volatile global uchar* out, volatile global
>
> kernel void truncstorei8_hi16_local(volatile global uchar* out, volatile global uint* in)
> {
> - volatile local short lds[64];
> + volatile local ushort lds[64];
> int lid = get_local_id(0);
> int gid = get_global_id(0);
>
> @@ -129,6 +129,6 @@ kernel void truncstorei8_hi16_local(volatile global uchar* out, volatile global
> kernel void truncstorei8_hi16_private(volatile global uchar* out, volatile global uint* in)
> {
> int gid = get_global_id(0);
> - volatile private short stack = in[gid] >> 16;
> + volatile private ushort stack = in[gid] >> 16;
> out[gid] = (uchar)stack;
> }
> --
> 2.11.0
>
More information about the Piglit
mailing list