[Piglit] [PATCH] cl: Fix types to be unsigned
Matt Arsenault
arsenm2 at gmail.com
Fri Oct 27 10:03:06 UTC 2017
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