summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShow Liu <show.liu@linaro.org>2015-07-03 11:34:19 +0800
committerShow Liu <show.liu@linaro.org>2015-07-03 11:34:19 +0800
commit0768c051398b285a880dcabf31a31d64aed9d286 (patch)
treeb630a0fc1ff89f150db67bddf39f057980dda0e5
parent256ee8fb5bbf4c2f57ba782be7347ba6ee2ad542 (diff)
downloadshamrock-ocl_1_2.tar.gz
fixed the crash issue for convert builtin functionocl_1_2
-rw-r--r--src/builtins/convert.cl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/builtins/convert.cl b/src/builtins/convert.cl
index 2f47c2d..c72ea88 100644
--- a/src/builtins/convert.cl
+++ b/src/builtins/convert.cl
@@ -3639,7 +3639,7 @@ double3 convert_double3(double3 x)
#endif
-#if 0 // ASW
+#if 1 // ASW
_CLC_DEF _CLC_OVERLOAD
char convert_char_rtz(char x)
@@ -12823,7 +12823,7 @@ _CLC_DEF _CLC_OVERLOAD
ulong3 convert_ulong3_rtn(ulong3 x)
{
return (ulong3)(convert_ulong2(x.s01), convert_ulong(x.s2));
-t
+}
#endif
_CLC_DEF _CLC_OVERLOAD
char convert_char_sat(char x)