aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShow Liu <show.liu@linaro.org>2015-06-22 16:19:18 +0800
committerGil Pitney <gil.pitney@linaro.org>2015-06-23 01:20:24 +0000
commit5579456e68c0a91b3596169461bf276405251041 (patch)
tree9ca72090f496c7e3e6b60ffdb8e969d4e1633a43
parente71467e15b6b89645740f6032618eb67b21a20dd (diff)
downloadshamrock-5579456e68c0a91b3596169461bf276405251041.tar.gz
fixed for rotate() crash issue when argument is uint type
-rw-r--r--src/builtins/rotate.cl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/builtins/rotate.cl b/src/builtins/rotate.cl
index fc894b0..207a014 100644
--- a/src/builtins/rotate.cl
+++ b/src/builtins/rotate.cl
@@ -46,6 +46,7 @@ SCALAR(ushort, ushort)
SCALAR(short, ushort)
SCALAR(ulong, ulong)
SCALAR(long, ulong)
+SCALAR(uint, uint)
SCALAR(int, uint)
BINARY_VEC_DEF(char, char, rotate, rotate)